Use default path for pgdata volume in docker-compose template

This commit is contained in:
Jeff Geerling 2020-07-21 15:35:24 -05:00
parent cf6c36ecab
commit 06fd131637

View File

@ -167,12 +167,11 @@ services:
container_name: awx_postgres
restart: unless-stopped
volumes:
- {{ postgres_data_dir }}/10/data/:/var/lib/postgresql/data/pgdata:Z
- {{ postgres_data_dir }}/10/data/:/var/lib/postgresql/data:Z
environment:
POSTGRES_USER: {{ pg_username }}
POSTGRES_PASSWORD: {{ pg_password }}
POSTGRES_DB: {{ pg_database }}
PGDATA: /var/lib/postgresql/data/pgdata
http_proxy: {{ http_proxy | default('') }}
https_proxy: {{ https_proxy | default('') }}
no_proxy: {{ no_proxy | default('') }}