-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (46 loc) · 1.23 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
42
43
44
45
46
47
48
version: '3.8'
services:
db:
container_name: postgres_container
image: postgis/postgis
restart: always
environment:
POSTGRES_DB: cabidb
POSTGRES_USER: admin
POSTGRES_PASSWORD: maxpass
PGDATA: /var/lib/postgresql/data
ports:
- "5432:5432"
volumes:
- db-data:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4:6.19
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: maxpass
PGADMIN_LISTEN_PORT: 80
ports:
- "8080:80"
volumes:
- pgadmin-data:/var/lib/pgadmin
# this container will not host the actual routing server, only check if the PBF is changed and rebuild the tiles if needed.
# Routing is done locally with the valhalla binaries in pyvalhalla which is much faster than sending requests over HTTP
valhalla:
container_name: valhalla_routing_container
image: gisops/valhalla:3.3.0
ports:
- "8002:8002"
volumes:
- ./data/osm_data/:/custom_files
environment:
- max_x=-76.8
- min_y=38.7
- min_x=-77.4
- max_y=39.2
- build_elevation=True
- serve_tiles=False
volumes:
db-data:
pgadmin-data: