fix: remove Redis password auth (internal network only, no public port)
This commit is contained in:
@@ -18,13 +18,10 @@ services:
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
environment:
|
||||
REDIS_PASSWORD: ${REDIS_PASSWORD}
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'redis-cli -a $REDIS_PASSWORD ping']
|
||||
test: ['CMD-SHELL', 'redis-cli ping']
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -59,7 +56,7 @@ services:
|
||||
- traefik.http.services.tower-api.loadbalancer.server.port=3001
|
||||
environment:
|
||||
DATABASE_URL: postgresql://tower:${DB_PASSWORD}@postgres:5432/tower
|
||||
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379
|
||||
REDIS_URL: redis://redis:6379
|
||||
MEILI_URL: http://meilisearch:7700
|
||||
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
@@ -93,7 +90,7 @@ services:
|
||||
dockerfile: apps/worker/Dockerfile
|
||||
environment:
|
||||
DATABASE_URL: postgresql://tower:${DB_PASSWORD}@postgres:5432/tower
|
||||
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379
|
||||
REDIS_URL: redis://redis:6379
|
||||
MEILI_URL: http://meilisearch:7700
|
||||
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
|
||||
Reference in New Issue
Block a user