feat(gis): restore premium OSM style and fix international routing bounds for Jordan & Syria
This commit is contained in:
+9
-7
@@ -25,9 +25,9 @@ services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: map-redis
|
||||
platform: linux/arm64
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- "6380:6379"
|
||||
- "6381:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
healthcheck:
|
||||
@@ -46,7 +46,7 @@ services:
|
||||
volumes:
|
||||
- ./infrastructure/osm-data:/data
|
||||
- ./infrastructure/docker/graphhopper/config.yml:/graphhopper/config.yml
|
||||
command: ["-i", "/data/jordan-latest.osm.pbf", "-c", "config.yml"]
|
||||
command: ["-i", "/data/region.osm.pbf", "-c", "config.yml"]
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/health || exit 1"]
|
||||
interval: 30s
|
||||
@@ -80,7 +80,7 @@ services:
|
||||
context: .
|
||||
dockerfile: ./infrastructure/docker/api/Dockerfile
|
||||
container_name: map-api
|
||||
platform: linux/arm64
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- "3200:3200"
|
||||
environment:
|
||||
@@ -102,7 +102,7 @@ services:
|
||||
container_name: map-martin
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- "3001:3000"
|
||||
- "3202:3000"
|
||||
environment:
|
||||
- WATCH_DB=true
|
||||
command: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
|
||||
@@ -121,7 +121,7 @@ services:
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
|
||||
- PGPASSWORD=${POSTGRES_PASSWORD}
|
||||
command: ["osm2pgsql", "--create", "--slim", "--cache", "1000", "--database", "${POSTGRES_DB}", "--host", "db", "--user", "${POSTGRES_USER}", "/data/jordan-latest.osm.pbf"]
|
||||
command: ["osm2pgsql", "--create", "--slim", "--cache", "1000", "--database", "${POSTGRES_DB}", "--host", "db", "--user", "${POSTGRES_USER}", "/data/region.osm.pbf"]
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
@@ -134,9 +134,11 @@ services:
|
||||
context: .
|
||||
dockerfile: ./infrastructure/docker/web/Dockerfile
|
||||
container_name: map-web
|
||||
platform: linux/arm64
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- "3201:5173"
|
||||
volumes:
|
||||
- ./apps/web/public:/app/public
|
||||
depends_on:
|
||||
- api
|
||||
- martin
|
||||
|
||||
Reference in New Issue
Block a user