Update docker compose with better password
This commit is contained in:
@@ -3,13 +3,13 @@ services:
|
||||
image: postgres
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: postgres
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||
POSTGRES_DATABASE: "${POSTGRES_DATABASE}"
|
||||
POSTGRES_USER: "${POSTGRES_USER}"
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- /home/WordAXDB/data:/var/lib/postgresql/data
|
||||
- ./init-scripts:/docker-entrypoint-initdb.d
|
||||
|
||||
|
||||
env_file:
|
||||
- ./.env
|
||||
|
||||
Reference in New Issue
Block a user