Configurable images
This commit is contained in:
parent
fc4caafcf5
commit
212462c607
21
compose.yaml
21
compose.yaml
|
|
@ -1,9 +1,6 @@
|
||||||
services:
|
services:
|
||||||
amarillo:
|
amarillo:
|
||||||
build:
|
image: "git.gerhardt.io/amarillo/amarillo:latest"
|
||||||
context: .
|
|
||||||
args:
|
|
||||||
PLUGINS: ${AMARILLO_PLUGINS-amarillo-metrics amarillo-grfs-exporter }
|
|
||||||
environment:
|
environment:
|
||||||
# Configure these for external enhancer and/or generator
|
# Configure these for external enhancer and/or generator
|
||||||
- ENHANCER_URL=${AMARILLO_ENHANCER_URL:-http://enhancer:80}
|
- ENHANCER_URL=${AMARILLO_ENHANCER_URL:-http://enhancer:80}
|
||||||
|
|
@ -12,24 +9,23 @@ services:
|
||||||
- ADMIN_TOKEN=${ADMIN_TOKEN?}
|
- ADMIN_TOKEN=${ADMIN_TOKEN?}
|
||||||
- RIDE2GO_TOKEN=${RIDE2GO_TOKEN-}
|
- RIDE2GO_TOKEN=${RIDE2GO_TOKEN-}
|
||||||
- GRAPHHOPPER_BASE_URL='https://api.mfdz.de/gh'
|
- GRAPHHOPPER_BASE_URL='https://api.mfdz.de/gh'
|
||||||
# - SECRET_KEY
|
# - SECRET_KEY=${SECRET_KEY?}
|
||||||
# - METRICS_USER
|
# - METRICS_USER=${METRICS_USER?}
|
||||||
# - METRICS_PASSWORD
|
# - METRICS_PASSWORD=${METRICS_PASSWORD?}
|
||||||
|
|
||||||
# - MAX_WORKERS=1
|
- MAX_WORKERS=${MAX_WORKERS}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
ports:
|
ports:
|
||||||
# - "8002:80"
|
- "${PORT:-8000}:80"
|
||||||
- "${PORT:-8002}:80"
|
|
||||||
enhancer:
|
enhancer:
|
||||||
image: "amarillo-enhancer"
|
image: ${AMARILLO_ENHANCER_IMAGE:-"git.gerhardt.io/amarillo/amarillo-enhancer:latest"}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
profiles:
|
profiles:
|
||||||
- enhancer
|
- enhancer
|
||||||
generator:
|
generator:
|
||||||
image: "amarillo-grfs-generator"
|
image: ${AMARILLO_GENERATOR_IMAGE:-"git.gerhardt.io/amarillo/amarillo-gtfs-generator:latest"}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
profiles:
|
profiles:
|
||||||
|
|
@ -37,4 +33,5 @@ services:
|
||||||
|
|
||||||
|
|
||||||
#sudo docker compose --profile enhancer up
|
#sudo docker compose --profile enhancer up
|
||||||
|
#sudo docker compose --profile generator up
|
||||||
#sudo docker compose --profile enhancer --profile generator up
|
#sudo docker compose --profile enhancer --profile generator up
|
||||||
Loading…
Reference in a new issue