udpate sick
This commit is contained in:
@@ -5,6 +5,18 @@ services:
|
||||
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
|
||||
networks:
|
||||
- maps-net
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: map-redis
|
||||
command: redis-server --maxmemory 2gb --maxmemory-policy allkeys-lru
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- maps-net
|
||||
restart: always
|
||||
|
||||
app:
|
||||
build:
|
||||
@@ -15,6 +27,11 @@ services:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
- scylla
|
||||
- redis
|
||||
environment:
|
||||
- REDIS_URI=redis://redis:6379
|
||||
networks:
|
||||
- maps-net
|
||||
restart: always
|
||||
|
||||
importer:
|
||||
@@ -29,10 +46,19 @@ services:
|
||||
- SCYLLA_URI=scylla:9042
|
||||
- OSM_PBF_PATH=/app/data.osm.pbf
|
||||
- CACHE_DIR=/cache
|
||||
- DEBUG_WAY_ID=99
|
||||
- VERBOSE_DEBUG=1
|
||||
depends_on:
|
||||
- scylla
|
||||
networks:
|
||||
- maps-net
|
||||
profiles:
|
||||
- import
|
||||
|
||||
networks:
|
||||
maps-net:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
scylla_data:
|
||||
redis_data:
|
||||
|
||||
Reference in New Issue
Block a user