add docker compose file
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,5 @@
|
||||
/.history
|
||||
data
|
||||
compose.yaml
|
||||
.env
|
||||
test.md
|
||||
.DS_Store
|
||||
@@ -12,3 +11,4 @@ Makefile
|
||||
NOTES.md
|
||||
tests
|
||||
configs
|
||||
/config
|
||||
14
compose.yaml
Normal file
14
compose.yaml
Normal 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/
|
||||
Reference in New Issue
Block a user