update
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user