-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
40 lines (36 loc) · 1.31 KB
/
compose.yaml
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
services:
amarillo:
image: "git.gerhardt.io/amarillo/amarillo:latest"
environment:
# Configure these for external enhancer and/or generator
- ENHANCER_URL=${AMARILLO_ENHANCER_URL:-http://enhancer:80}
- GENERATOR_URL=${AMARILLO_GENERATOR_URL:-http://generator:80}
- ADMIN_TOKEN=${ADMIN_TOKEN?}
- RIDE2GO_TOKEN=${RIDE2GO_TOKEN-}
- GRAPHHOPPER_BASE_URL='https://api.mfdz.de/gh'
- METRICS_USER=${METRICS_USER?}
- METRICS_PASSWORD=${METRICS_PASSWORD?}
- MAX_WORKERS=${MAX_WORKERS}
volumes:
- ./data:/app/data
# You can override the config and secrets files by mounting them like this
# Make sure these files exist on the host otherwise they might be treated like folders
# - ./config:/app/config
# - ./secrets:/app/secrets
ports:
- "${PORT:-8000}:80"
enhancer:
image: ${AMARILLO_ENHANCER_IMAGE:-"git.gerhardt.io/amarillo/amarillo-enhancer:latest"}
volumes:
- ./data:/app/data
profiles:
- enhancer
generator:
image: ${AMARILLO_GENERATOR_IMAGE:-"git.gerhardt.io/amarillo/amarillo-gtfs-generator:latest"}
volumes:
- ./data:/app/data
profiles:
- generator
#sudo docker compose --profile enhancer up
#sudo docker compose --profile generator up
#sudo docker compose --profile enhancer --profile generator up