|
@ -39,7 +39,7 @@ services: |
|
|
- ../.env |
|
|
- ../.env |
|
|
command: ['redis-server', '--requirepass', $REDIS_PASSWORD] |
|
|
command: ['redis-server', '--requirepass', $REDIS_PASSWORD] |
|
|
healthcheck: |
|
|
healthcheck: |
|
|
test: ['CMD-SHELL', 'redis-cli --pass $REDIS_PASSWORD ping | grep PONG'] |
|
|
test: ['CMD-SHELL', 'redis-cli --pass "$REDIS_PASSWORD" ping | grep PONG'] |
|
|
interval: 10s |
|
|
interval: 10s |
|
|
timeout: 5s |
|
|
timeout: 5s |
|
|
retries: 5 |
|
|
retries: 5 |
|
|