minor changes
This commit is contained in:
parent
7b45659a50
commit
2f32cb7deb
2 changed files with 3 additions and 1791 deletions
1788
backend/package-lock.json
generated
1788
backend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -61,15 +61,15 @@ services:
|
|||
# Redis service - only active in cloud mode
|
||||
redis:
|
||||
image: redis:alpine
|
||||
command: ${REDIS_PASSWORD:+--requirepass ${REDIS_PASSWORD}}
|
||||
command: ["sh", "-c", "redis-server ${REDIS_PASSWORD:+--requirepass $REDIS_PASSWORD}"]
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- app-network
|
||||
profiles:
|
||||
- ${DEPLOYMENT_MODE:-self-hosted} == cloud ? default : tools
|
||||
- cloud
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", ${REDIS_PASSWORD:+"-a", "${REDIS_PASSWORD}"}, "ping"]
|
||||
test: ["CMD", "redis-cli", "${REDIS_PASSWORD:+--pass}", "${REDIS_PASSWORD}", "ping"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
|
|
|||
Loading…
Reference in a new issue