mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 06:29:31 -02:30
Merge pull request #7698 from geerlingguy/pg-data-use-default-path
Use default path for pgdata volume in docker-compose template Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -167,12 +167,11 @@ services:
|
|||||||
container_name: awx_postgres
|
container_name: awx_postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- {{ postgres_data_dir }}/10/data/:/var/lib/postgresql/data/pgdata:Z
|
- {{ postgres_data_dir }}/10/data/:/var/lib/postgresql/data:Z
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: {{ pg_username }}
|
POSTGRES_USER: {{ pg_username }}
|
||||||
POSTGRES_PASSWORD: {{ pg_password }}
|
POSTGRES_PASSWORD: {{ pg_password }}
|
||||||
POSTGRES_DB: {{ pg_database }}
|
POSTGRES_DB: {{ pg_database }}
|
||||||
PGDATA: /var/lib/postgresql/data/pgdata
|
|
||||||
http_proxy: {{ http_proxy | default('') }}
|
http_proxy: {{ http_proxy | default('') }}
|
||||||
https_proxy: {{ https_proxy | default('') }}
|
https_proxy: {{ https_proxy | default('') }}
|
||||||
no_proxy: {{ no_proxy | default('') }}
|
no_proxy: {{ no_proxy | default('') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user