Merge pull request 'Add compose.yml (Closes #30)' (#32) from compose into dev

Reviewed-on: https://codeberg.org/gothub/gothub/pulls/32
This commit is contained in:
Midou36O
2023-01-06 12:11:30 +00:00
+13
View File
@@ -0,0 +1,13 @@
version: "3"
services:
gothub:
image: codeberg.org/gothub/gothub:latest
# image: codeberg.org/gothub/gothub:dev # Dev branch
restart: unless-stopped
ports:
- "3000:3000"
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1
interval: 30s
timeout: 5s
retries: 2