-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (41 loc) · 1.16 KB
/
docker-compose.yml
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:
choropleth:
build: .
restart: unless-stopped
ports:
- 127.0.0.1:8000:80
environment:
- APP_KEY=base64:mGTKXJzoje4iZ1Yhhitjc8J98ZmyopxIXBueixUbZL8=
- APP_MAPBOX_ACCESS_TOKEN=
- APP_MAX_DISTANCE_COUNT=10000
- APP_LOGIN_EMAIL=admin@example.com
- APP_LOGIN_PASSWORD=password
- DB_HOST=login_db
- DB_DATABASE=choroplethmaps
- DB_USERNAME=choroplethmaps
- DB_PASSWORD=choroplethmapspassword
- BAYAREA_DB_HOST=roads_db
- BAYAREA_DB_DATABASE=bayarea
- BAYAREA_DB_USERNAME=choroplethmaps
- BAYAREA_DB_PASSWORD=choroplethmapspassword
login_db:
image: postgres:14.0
restart: unless-stopped
environment:
- POSTGRES_DB=choroplethmaps
- POSTGRES_USER=choroplethmaps
- POSTGRES_PASSWORD=choroplethmapspassword
volumes:
- login_db:/var/lib/postgresql/data
roads_db:
build: ./scripts/roads_db
restart: unless-stopped
environment:
- POSTGRES_DB=bayarea
- POSTGRES_USER=choroplethmaps
- POSTGRES_PASSWORD=choroplethmapspassword
volumes:
- roads_db:/var/lib/postgresql/data
volumes:
login_db:
roads_db: