Add nginx service to docker compose

This commit is contained in:
Florian Lohoff 2023-02-24 14:33:26 +01:00
parent 5d94a82ff6
commit 2d53c999d2
No known key found for this signature in database
GPG Key ID: 90DD4120CB09F22F

View File

@ -15,6 +15,19 @@ services:
- "8002:5000"
command: osrm-routed --algorithm mld /data/latest.osrm
frontend:
image: nginx
depends_on:
- osrmA
- osrmB
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/html:/etc/nginx/html/
ports:
- "8080:80"
environment:
- NGINX_HOST=foobar.com
- NGINX_PORT=80
volumes:
osrmAdata:
osrmBdata: