Skip to content

Commit

Permalink
build: add compose file for extending official central stack
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 30, 2025
1 parent d0a7535 commit 7e46a5d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions compose.webhook.yml
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

0 comments on commit 7e46a5d

Please sign in to comment.