add docker compose file

This commit is contained in:
Jonas Kaninda
2024-10-30 05:10:36 +01:00
parent 1febdd7d37
commit 5450570e9e
2 changed files with 16 additions and 2 deletions

4
.gitignore vendored
View File

@@ -1,6 +1,5 @@
/.history
data
compose.yaml
.env
test.md
.DS_Store
@@ -11,4 +10,5 @@ bin
Makefile
NOTES.md
tests
configs
configs
/config

14
compose.yaml Normal file
View File

@@ -0,0 +1,14 @@
services:
goma-gateway:
image: jkaninda/goma-gateway
command: server
healthcheck:
test: curl -f http://localhost/healthz || exit 1
interval: 30s
retries: 5
start_period: 20s
timeout: 10s
ports:
- "80:80"
volumes:
- ./config:/config/