-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add compose file for extending official central stack
- Loading branch information
1 parent
d0a7535
commit 7e46a5d
Showing
1 changed file
with
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file is for extending the docker-compose.yml file in the getodk/central repo. | ||
# From the getodk/central repo: | ||
# docker compose -f docker-compose.yml -f /path/to/this/repo/compose.webhook.yml up -d | ||
|
||
services: | ||
webhook: | ||
image: "ghcr.io/hotosm/central-webhook:0.1.0-rc" | ||
environment: | ||
CENTRAL_WEBHOOK_DB_URI: postgresql://odk:odk@postgres14:5434/odk?sslmode=disable | ||
CENTRAL_WEBHOOK_UPDATE_ENTITY_URL: ${CENTRAL_WEBHOOK_UPDATE_ENTITY_URL} | ||
CENTRAL_WEBHOOK_REVIEW_SUBMISSION_URL: ${CENTRAL_WEBHOOK_REVIEW_SUBMISSION_URL} | ||
CENTRAL_WEBHOOK_NEW_SUBMISSION_URL: ${CENTRAL_WEBHOOK_NEW_SUBMISSION_URL} | ||
CENTRAL_WEBHOOK_API_KEY: ${CENTRAL_WEBHOOK_API_KEY} | ||
CENTRAL_WEBHOOK_LOG_LEVEL: ${CENTRAL_WEBHOOK_LOG_LEVEL:-DEBUG} | ||
depends_on: | ||
postgres14: | ||
condition: service_healthy | ||
restart: always |