diff --git a/.gitignore b/.gitignore index d7dae71..bfa678e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ /.history data -compose.yaml .env test.md .DS_Store @@ -11,4 +10,5 @@ bin Makefile NOTES.md tests -configs \ No newline at end of file +configs +/config \ No newline at end of file diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..f8ed22b --- /dev/null +++ b/compose.yaml @@ -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/ \ No newline at end of file