diff options
author | Shane McDonald <me@shanemcd.com> | 2019-09-10 02:18:01 +0200 |
---|---|---|
committer | Christian Adams <chadams@redhat.com> | 2019-09-12 18:52:43 +0200 |
commit | 036567817e4aeb74f063e2c15b3db4be8366b47a (patch) | |
tree | fdc6788a0411e32c1e01a31291b884109622bebc /installer/roles/local_docker/templates | |
parent | Upgrade to postgres 10.6 (diff) | |
download | awx-036567817e4aeb74f063e2c15b3db4be8366b47a.tar.xz awx-036567817e4aeb74f063e2c15b3db4be8366b47a.zip |
Implement local docker pg upgrade
Diffstat (limited to 'installer/roles/local_docker/templates')
-rw-r--r-- | installer/roles/local_docker/templates/docker-compose.yml.j2 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/installer/roles/local_docker/templates/docker-compose.yml.j2 b/installer/roles/local_docker/templates/docker-compose.yml.j2 index 97e98e3e55..e3956b7374 100644 --- a/installer/roles/local_docker/templates/docker-compose.yml.j2 +++ b/installer/roles/local_docker/templates/docker-compose.yml.j2 @@ -128,16 +128,15 @@ services: {% if pg_hostname is not defined %} postgres: - image: centos/postgresql-10-centos7 + image: postgres:10 container_name: awx_postgres restart: unless-stopped volumes: - - {{ postgres_data_dir }}:/var/lib/postgresql/data:Z + - {{ postgres_data_dir }}/10/data/:/var/lib/postgresql/data/pgdata:Z environment: POSTGRES_USER: {{ pg_username }} POSTGRES_PASSWORD: {{ pg_password }} POSTGRES_DB: {{ pg_database }} - POSTGRESQL_ADMIN_PASSWORD: 'postgrespass' # TODO: Remove This PGDATA: /var/lib/postgresql/data/pgdata http_proxy: {{ http_proxy | default('') }} https_proxy: {{ https_proxy | default('') }} |