mirror of
https://github.com/flohoff/routecompare.git
synced 2024-09-21 07:47:08 +00:00
Add nginx service to docker compose
This commit is contained in:
parent
5d94a82ff6
commit
2d53c999d2
15
compose.yaml
15
compose.yaml
@ -14,7 +14,20 @@ services:
|
||||
ports:
|
||||
- "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:
|
||||
|
Loading…
Reference in New Issue
Block a user