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
This commit is contained in:
Christian Adams
2019-05-24 16:30:06 -04:00
committed by Christian Adams
parent 04ab736f09
commit ec1e93cc69
27 changed files with 97 additions and 60 deletions

View File

@@ -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: