Fix bind-mount problem with pg12 upgrades

This commit is contained in:
Christian M. Adams
2021-01-19 16:01:27 -05:00
parent 3a467067f3
commit ac925a03b5
3 changed files with 34 additions and 12 deletions

View File

@@ -178,7 +178,7 @@ services:
container_name: awx_postgres
restart: unless-stopped
volumes:
- "{{ postgres_data_dir }}:/var/lib/postgresql:Z"
- "{{ postgres_data_dir }}/12/data/:/var/lib/postgresql/data:Z"
environment:
POSTGRES_USER: {{ pg_username }}
POSTGRES_PASSWORD: {{ pg_password }}