Merge pull request #7359 from shanemcd/no-host-pg-port

Remove local port binding for postgres in dev env

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-06-17 18:10:35 +00:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ RUN dnf -y install \
make \ make \
patch \ patch \
wget \ wget \
diffutils \
unzip && \ unzip && \
npm install -g n && n 10.15.0 && dnf remove -y nodejs npm install -g n && n 10.15.0 && dnf remove -y nodejs
{% endif %} {% endif %}

View File

@@ -46,8 +46,6 @@ services:
postgres: postgres:
image: postgres:10 image: postgres:10
container_name: tools_postgres_1 container_name: tools_postgres_1
ports:
- "5432:5432"
environment: environment:
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust
volumes: volumes: