Update docker-compose.yml

This commit is contained in:
Valentino Lauciani 2021-12-21 11:43:51 +01:00 committed by GitHub
parent ec4216ed18
commit 3d2f8074d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -619,7 +619,10 @@ services:
### PostgreSQL PostGis ################################### ### PostgreSQL PostGis ###################################
postgres-postgis: postgres-postgis:
build: ./postgres-postgis build:
context: ./postgres-postgis
args:
- POSTGRES_VERSION=${POSTGRES_VERSION}
volumes: volumes:
- ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data - ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data
ports: ports:
@ -628,6 +631,7 @@ services:
- POSTGRES_DB=${POSTGRES_DB} - POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER} - POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13}
networks: networks:
- backend - backend