-
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.
feat: wip extract entity or submission data and pass to webhook
- Loading branch information
1 parent
1d25c99
commit 2ca586d
Showing
12 changed files
with
875 additions
and
138 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 |
---|---|---|
|
@@ -15,15 +15,24 @@ services: | |
- ./go.mod:/app/go.mod:ro | ||
- ./go.sum:/app/go.sum:ro | ||
- ./main.go:/app/main.go:ro | ||
- ./main_test.go:/app/main_test.go:ro | ||
- ./db:/app/db:ro | ||
- ./webhook:/app/webhook:ro | ||
- ./parser:/app/parser:ro | ||
# environment: | ||
# # Override to use database on host | ||
# ODK_WEBHOOK_DB_URI: postgresql://odk:[email protected]:5434/odk?sslmode=disable | ||
# ODK_WEBHOOK_WEBHOOK_URL: | ||
depends_on: | ||
db: | ||
condition: service_healthy | ||
networks: | ||
- net | ||
# This allows usage of services running directly on the host machine | ||
extra_hosts: | ||
- host.docker.internal:host-gateway | ||
restart: "no" | ||
entrypoint: go test -v ./... | ||
entrypoint: go test -v . | ||
|
||
db: | ||
image: "postgis/postgis:17-3.5-alpine" | ||
|
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
Oops, something went wrong.