Skip to content

Commit

Permalink
feat: allow to specify postgis db name using env vars. [skip doc] [sk…
Browse files Browse the repository at this point in the history
…ip build]
  • Loading branch information
robinbourianes-kalisio committed Jan 21, 2021
1 parent 736cbb5 commit 8ecd772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.default
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ POSTGIS_IMAGE=postgis/postgis
POSTGIS_TAG=13-3.0-alpine
POSTGIS_USER=postgres
POSTGIS_PASSWORD=postgres
POSTGIS_DB=db
POSTGIS_VOLUME_PATH=

# Prometheus
Expand Down
1 change: 1 addition & 0 deletions deploy/postgis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
environment:
- POSTGRES_USER=${POSTGIS_USER}
- POSTGRES_PASSWORD=${POSTGIS_PASSWORD}
- POSTGRES_DB=${POSTGIS_DB}
volumes:
- ${POSTGIS_VOLUME_PATH}postgis_data:/var/lib/postgresql/data
healthcheck:
Expand Down

0 comments on commit 8ecd772

Please sign in to comment.