diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..6e0dbad --- /dev/null +++ b/compose.yml @@ -0,0 +1,15 @@ +version: "3" +services: + gothub: + image: codeberg.org/gothub/gothub:latest + # image: codeberg.org/gothub/gothub:dev # Dev branch + restart: unless-stopped + ports: + - "3000:3000" + environment: + - DOCKER=true + healthcheck: + test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1 + interval: 30s + timeout: 5s + retries: 2