-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e01fe6
commit b260095
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: '3.4' | ||
|
||
|
||
services: | ||
|
||
qwc-postgis: | ||
image: sourcepole/qwc-base-db:15 # 15 refers to the Postgres major version | ||
environment: | ||
POSTGRES_PASSWORD: 'uefah5WateiWai1e' # TODO: Set your postgres password here! | ||
volumes: | ||
- ./volumes/db:/var/lib/postgresql/docker | ||
# If you don't want/need the demo data, you can remove this line | ||
- ./volumes/demo-data/setup-demo-data.sh:/docker-entrypoint-initdb.d/2_setup-demo-data.sh | ||
ports: | ||
- "127.0.0.1:5439:5432" | ||
healthcheck: | ||
test: ["CMD-SHELL", "pg_isready -U postgres"] | ||
interval: 10s | ||
|
||
qwc-config-db-migrate: | ||
build: | ||
context: .. | ||
dockerfile: Dockerfile.migrate | ||
depends_on: | ||
qwc-postgis: | ||
condition: service_healthy |