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