fix: remove hardcoded password defaults from docker-compose
This commit is contained in:
@@ -6,7 +6,7 @@ services:
|
||||
container_name: maqt-postgres
|
||||
environment:
|
||||
POSTGRES_USER: maqt
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-maqt123456}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: maqt
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
ports:
|
||||
- "127.0.0.1:3002:3001"
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://maqt:${POSTGRES_PASSWORD:-maqt123456}@postgres:5432/maqt
|
||||
- DATABASE_URL=postgresql://maqt:${POSTGRES_PASSWORD}@postgres:5432/maqt
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
- ENCRYPTION_KEY=${ENCRYPTION_KEY}
|
||||
- PORT=3001
|
||||
|
||||
Reference in New Issue
Block a user