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