Update docker-compose.yml to use consistent port for OSRM service

This commit is contained in:
2024-05-26 15:35:38 +08:00
parent 2d1caa473b
commit fa6fb46aa4
+2 -2
View File
@@ -66,7 +66,7 @@ services:
# OSRM manager setup
- OSRM_ALGORITHM=mld
- OSRM_THREADS=2
- OSRM_PORT=5000
- OSRM_PORT=${OSRM_PORT:-5012}
- OSRM_PROFILE=/opt/car.lua
- OSRM_MAP_NAME=${OSRM_MAP_NAME}
- OSRM_GEOFABRIK_PATH=${OSRM_GEOFABRIK_PATH}
@@ -76,7 +76,7 @@ services:
container_name: osrm_backend
restart: unless-stopped
expose:
- ${OSRM_PORT:-5000}
- ${OSRM_PORT:-5012}
networks:
- net
- default