summaryrefslogtreecommitdiffstats
path: root/tools/docker-compose.yml
diff options
context:
space:
mode:
authorChristian Adams <rooftopcellist@gmail.com>2019-05-24 22:30:06 +0200
committerChristian Adams <chadams@redhat.com>2019-09-12 18:52:43 +0200
commitec1e93cc69a38e92f08c70d240ffac990ae9c983 (patch)
tree2cb8eca711effc709e5d1523d4849dc40118bc18 /tools/docker-compose.yml
parent#3778 Upgrading postgresql to v10 (diff)
downloadawx-ec1e93cc69a38e92f08c70d240ffac990ae9c983.tar.xz
awx-ec1e93cc69a38e92f08c70d240ffac990ae9c983.zip
Upgrade to postgres 10.6
- use awx-python in shebang in dev env - scl enable where needed for rhel7 & container installs - use scram-sha-256 pg user hashing by default - ensure psycopg2 is using the correct PG_CONFIG at build time for the right libpq version
Diffstat (limited to 'tools/docker-compose.yml')
-rw-r--r--tools/docker-compose.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/docker-compose.yml b/tools/docker-compose.yml
index 46aea9227f..e09a7136e1 100644
--- a/tools/docker-compose.yml
+++ b/tools/docker-compose.yml
@@ -39,10 +39,16 @@ services:
# build:
# context: ./docker-compose
# dockerfile: Dockerfile-logstash
+
# Postgres Database Container
postgres:
- image: postgres:10.7
+ image: centos/postgresql-10-centos7
container_name: tools_postgres_1
+ environment:
+ POSTGRESQL_USER: awx
+ POSTGRESQL_PASSWORD: awxpass
+ POSTGRESQL_DATABASE: awx
+ POSTGRESQL_ADMIN_PASSWORD: postgrespass
ports:
- "5432:5432"
memcached: