This commit is contained in:
2025-11-26 11:57:23 +01:00
parent 80bdaef5c8
commit 696d058fed
10 changed files with 754 additions and 185 deletions

View File

@@ -8,20 +8,35 @@ services:
- "9042:9042"
- "9160:9160"
- "10000:10000"
command: --smp 1 --memory 4G --overprovisioned 1 --api-address 0.0.0.0 --max-memory-for-unlimited-query-soft-limit 1073741824 --tombstone-warn-threshold 10000000
command: --smp 1 --memory 2G --overprovisioned 1 --api-address 0.0.0.0 --max-memory-for-unlimited-query-soft-limit 1073741824 --tombstone-warn-threshold 10000000
volumes:
- scylla_data:/var/lib/scylla
app:
build: .
build:
context: .
target: backend
container_name: map-app
ports:
- "3000:3000"
depends_on:
- scylla
restart: always
importer:
build:
context: .
target: importer
container_name: map-importer
volumes:
- ./oberbayern-251125.osm.pbf:/app/data.osm.pbf
environment:
- SCYLLA_URI=scylla:9042
restart: always
- OSM_PBF_PATH=/app/data.osm.pbf
depends_on:
- scylla
profiles:
- import
volumes:
scylla_data: