-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.dev.yml
109 lines (102 loc) · 2.35 KB
/
docker-compose.dev.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: "3.9"
services:
db:
image: postgis/postgis:13-master
ports:
- "5434:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
pg_tileserv:
image: pramsey/pg_tileserv:20231005
env_file:
- .env.local
environment:
- DATABASE_URL=postgresql://${R_USER:-postgres}:${R_USER_PW:-postgres}@db/${DB_MAIN_NAME:-tarmo}
ports:
- "7800:7800"
depends_on:
- db
restart: unless-stopped
lipas_loader:
build:
context: backend
dockerfile: lipas.Dockerfile
env_file:
- .env.local
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
ports:
- "8080:8080"
depends_on:
- db
volumes:
- ./backend/lambda_functions/lipas_loader/lipas_loader.py:/var/task/app.py
osm_loader:
build:
context: backend
dockerfile: osm.Dockerfile
env_file:
- .env.local
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
ports:
- "8082:8080"
depends_on:
- db
volumes:
- ./backend/lambda_functions/osm_loader/osm_loader.py:/var/task/app.py
wfs_loader:
build:
context: backend
dockerfile: wfs.Dockerfile
env_file:
- .env.local
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
ports:
- "8083:8080"
depends_on:
- db
volumes:
- ./backend/lambda_functions/wfs_loader/wfs_loader.py:/var/task/app.py
arcgis_loader:
build:
context: backend
dockerfile: arcgis.Dockerfile
env_file:
- .env.local
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
ports:
- "8085:8080"
depends_on:
- db
volumes:
- ./backend/lambda_functions/arcgis_loader/arcgis_loader.py:/var/task/app.py
db_manager:
build:
context: backend
dockerfile: db_manager.Dockerfile
env_file:
- .env.local
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
ports:
- "8081:8080"
depends_on:
- db
volumes:
- ./backend/lambda_functions/db_manager/db_manager.py:/var/task/app.py
notifier:
build:
context: backend
dockerfile: notifier.Dockerfile
volumes:
- ./backend/lambda_functions/notifier/notifier.py:/var/task/app.py