-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (36 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
41 lines (36 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
postgres:
image: ghcr.io/ferretdb/postgres-documentdb:17-0.106.0-ferretdb-2.5.0
restart: on-failure
environment:
- POSTGRES_USER=bustinel
- POSTGRES_PASSWORD=atotallysecurepassword
- POSTGRES_DB=postgres
volumes:
- ferret:/var/lib/postgresql/data
ferretdb:
image: ghcr.io/ferretdb/ferretdb:2.5.0
restart: on-failure
ports:
- 27017:27017
environment:
- FERRETDB_POSTGRESQL_URL=postgres://bustinel:atotallysecurepassword@postgres:5432/postgres
depends_on:
- postgres
bustinel:
restart: on-failure
build:
context: .
dockerfile: Dockerfile
environment:
- MONGO_URI=mongodb://bustinel:atotallysecurepassword@ferretdb:27017
- FEED_URL=https://gtfs.adelaidemetro.com.au/v1/realtime/vehicle_positions
- METADATA_URL=https://gtfs.adelaidemetro.com.au/v1/static/latest/google_transit.zip
- CONTACT=johndoe@example.com
depends_on:
- ferretdb
volumes:
ferret:
networks:
default:
driver: bridge