-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.prod-dev.yml
79 lines (70 loc) · 2.34 KB
/
docker-compose.prod-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
services:
awt-docs:
image: registry.cevi.tools/cevi/awt_docs:dev
build:
context: docs/.
dockerfile: Dockerfile
env_file:
- .env.prod-dev
awt-tile-cache:
image: registry.cevi.tools/cevi/awt_tile-caching:dev
env_file:
- .env.prod-dev
awt-mapfish-print-server:
image: registry.cevi.tools/cevi/awt_mapfish-print-server:dev
env_file:
- .env.prod-dev
awt-swiss-tml-api:
build:
context: swiss_TLM_api/.
dockerfile: Dockerfile
image: registry.cevi.tools/cevi/awt_swiss-tml-api:dev
volumes:
- ./swiss_TLM_api/resources:/app/resources
- ./swiss_TLM_api/index_cache:/app/index_cache
env_file:
- .env.prod-dev
awt-backend:
build:
context: backend/.
dockerfile: Dockerfile
image: registry.cevi.tools/cevi/awt_backend:dev
env_file:
- .env.prod-dev
awt-frontend:
build:
context: .
dockerfile: frontend/Dockerfile
# Used in the first stage of the Dockerfile, thus these env vars must be passed as args
args:
- ENVIRONMENT_FILE=.env.prod-dev
image: registry.cevi.tools/cevi/awt_frontend:dev
env_file:
- .env.prod-dev
awt-valhalla:
build:
context: ./route_engine
dockerfile: Dockerfile
image: registry.cevi.tools/cevi/awt_valhalla:dev
environment:
# - tile_urls=https://download.geofabrik.de/europe/switzerland-latest.osm.pbf
- server_threads=2 # determines how many threads will be used to run the valhalla server
- use_tiles_ignore_pbf=True # load existing valhalla_tiles.tar directly
- build_elevation=False # build elevation with "True" or "Force": will download only the elevation for areas covered by the graph tiles
- build_admins=False # build admins db with "True" or "Force"
- build_time_zones=False # build timezone db with "True" or "Force"
- build_tar=True # build an indexed tar file from the tile_dir for faster graph loading times
- force_rebuild=False # forces a rebuild of the routing tiles with "True"
env_file:
- .env.prod-dev
awt-store-api:
build:
context: ./store_api
dockerfile: Dockerfile
image: registry.cevi.tools/cevi/awt_store_api:dev
env_file:
- .env.prod-dev
awt-mongodb:
image: registry.cevi.tools/cevi/awt_mongo:dev
env_file:
- .env.prod-dev