Postgres as supplying wrong env variable
This commit is contained in:
Amritanshu Agrawal 2020-10-17 12:28:18 +05:30
parent ed8feff302
commit 426bd8e82a

View File

@ -21,9 +21,9 @@
state: started state: started
restart_policy: "unless-stopped" restart_policy: "unless-stopped"
env: env:
POSTGRESQL_USER: "{{ pg_user }}" POSTGRES_USER: "{{ pg_user }}"
POSTGRESQL_PASSWORD: "{{ pg_password }}" POSTGRES_PASSWORD: "{{ pg_password }}"
POSTGRESQL_DATABASE: 'postgres' POSTGRES_DB: 'postgres'
PGDATA: '/var/lib/postgresql/data/pgdata' PGDATA: '/var/lib/postgresql/data/pgdata'
published_ports: published_ports:
- 5432:5432 - 5432:5432