Merge pull request #21 from jkaninda/refactor

add docker compose file
This commit is contained in:
2024-10-30 05:11:17 +01:00
committed by GitHub
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/