From 5450570e9ea217edfe0528e2fe3cc6b98a9120bd Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Wed, 30 Oct 2024 05:10:36 +0100 Subject: [PATCH] add docker compose file --- .gitignore | 4 ++-- compose.yaml | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 compose.yaml 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