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