From ec1e93cc69a38e92f08c70d240ffac990ae9c983 Mon Sep 17 00:00:00 2001 From: Christian Adams Date: Fri, 24 May 2019 16:30:06 -0400 Subject: 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 --- tools/docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tools/docker-compose.yml') 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: -- cgit v1.2.3