Browse Source

fix: redis related issue

pull/9162/merge
DarkPhoenix2704 3 months ago committed by Anbarasu
parent
commit
451f4d4993
  1. 14
      docker-compose/setup-script/noco.sh

14
docker-compose/setup-script/noco.sh

@ -577,14 +577,14 @@ EOF
image: redis:latest image: redis:latest
restart: unless-stopped restart: unless-stopped
env_file: docker.env env_file: docker.env
command: redis-server --requirepass \${REDIS_PASSWORD} command:
volumes: - /bin/sh
- redis:/data - -c
- redis-server --requirepass "\$\${REDIS_PASSWORD}"
healthcheck: healthcheck:
test: ["CMD", "redis-cli", "ping"] test: [ "CMD", "redis-cli", "-a", "\$\${REDIS_PASSWORD}", "--raw", "incr", "ping" ]
interval: 10s volumes:
timeout: 5s - ./redis:/data
retries: 5
networks: networks:
- nocodb-network - nocodb-network
EOF EOF

Loading…
Cancel
Save