Commit d2fe60fc authored by Wade's avatar Wade

update pg passwd

parent c4f2f0c4
...@@ -5,7 +5,8 @@ services: ...@@ -5,7 +5,8 @@ services:
restart: always restart: always
shm_size: 128mb shm_size: 128mb
environment: environment:
POSTGRES_PASSWORD: wuban0608 POSTGRES_USER: wuban # Explicit username
POSTGRES_PASSWORD: wuban456passwd # Explicit password
volumes: volumes:
- ./config/pg/init.sql:/docker-entrypoint-initdb.d/init.sql # Mount the init script - ./config/pg/init.sql:/docker-entrypoint-initdb.d/init.sql # Mount the init script
- ${PG_DOCKER_VOLUME_DIRECTORY:-.}/pgdata:/var/lib/postgresql/data # Persist data to host directory - ${PG_DOCKER_VOLUME_DIRECTORY:-.}/pgdata:/var/lib/postgresql/data # Persist data to host directory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment