1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

fixed redis-servr data dir and fixed s3 emulator dns name

This commit is contained in:
Grigory Efimov 2024-01-15 16:58:17 -03:00
parent ea1ce33660
commit ebf56e9190

View file

@ -33,7 +33,7 @@ services:
container_name: redis container_name: redis
image: "redis/redis-stack-server:${REDIS_VERSION}" image: "redis/redis-stack-server:${REDIS_VERSION}"
restart: always restart: always
command: redis-server --appendonly yes --maxmemory 256mb --maxmemory-policy noeviction --protected-mode no --loadmodule /opt/redis-stack/lib/redisbloom.so command: redis-server --dir /data/ --appendonly yes --maxmemory 256mb --maxmemory-policy noeviction --protected-mode no --loadmodule /opt/redis-stack/lib/redisbloom.so
ports: ports:
- "${REDIS_PORT}:${REDIS_PORT}" - "${REDIS_PORT}:${REDIS_PORT}"
volumes: volumes:
@ -45,6 +45,10 @@ services:
- "${AWS_PORT}:4569" - "${AWS_PORT}:4569"
volumes: volumes:
- ./storage/s3_root:/s3_root - ./storage/s3_root:/s3_root
networks:
default:
aliases:
- s3-emulator.s3-emulator
any-sync-coordinator_bootstrap: any-sync-coordinator_bootstrap:
image: "ghcr.io/anyproto/any-sync-coordinator:${ANY_SYNC_COORDINATOR_VERSION}" image: "ghcr.io/anyproto/any-sync-coordinator:${ANY_SYNC_COORDINATOR_VERSION}"