2023-01-06 07:07:43 +09:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
gothub:
|
|
|
|
image: codeberg.org/gothub/gothub:latest
|
|
|
|
# image: codeberg.org/gothub/gothub:dev # Dev branch
|
2023-01-06 07:18:06 +09:00
|
|
|
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
|