Files
time_to_leave/docker-compose.yml

16 lines
500 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: time-to-leave
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
- NODE_ENV=production
- HAFAS_URL=${HAFAS_URL:-https://fahrplan.oebb.at/bin/mgate.exe}
- NOMINATIM_URL=${NOMINATIM_URL:-https://nominatim.openstreetmap.org}
- NOMINATIM_USER_AGENT=${NOMINATIM_USER_AGENT:-TimeToLeave/2.0}
- OSRM_URL=${OSRM_URL:-https://router.project-osrm.org}