mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
docker-compose.yml fixed redis port
This commit is contained in:
parent
b381b75543
commit
67e873932f
1 changed files with 2 additions and 2 deletions
|
@ -41,13 +41,13 @@ services:
|
|||
condition: service_healthy
|
||||
image: "redis/redis-stack-server:${REDIS_VERSION}"
|
||||
restart: always
|
||||
command: redis-server --dir /data/ --appendonly yes --maxmemory 256mb --maxmemory-policy noeviction --protected-mode no --loadmodule /opt/redis-stack/lib/redisbloom.so
|
||||
command: redis-server --port ${REDIS_PORT} --dir /data/ --appendonly yes --maxmemory 256mb --maxmemory-policy noeviction --protected-mode no --loadmodule /opt/redis-stack/lib/redisbloom.so
|
||||
ports:
|
||||
- "${REDIS_PORT}:${REDIS_PORT}"
|
||||
volumes:
|
||||
- ./storage/redis/:/data/
|
||||
healthcheck:
|
||||
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
|
||||
test: [ "CMD", "redis-cli", "--raw", "-p", "${REDIS_PORT}", "incr", "ping" ]
|
||||
interval: 10s
|
||||
timeout: 30s
|
||||
retries: 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue