mozhi/compose.yml
Arya Kiran 421c0b5258
Some checks failed
mozhi pipeline / Push Docker image to Codeberg docker registry (push) Has been cancelled
mozhi pipeline / Build and publish artifacts (push) Has been cancelled
fix healthcheck endpoint path
2024-04-14 18:45:01 +05:30

14 lines
304 B
YAML

version: "3"
services:
mozhi:
#build: .
image: codeberg.org/aryak/mozhi:latest
restart: unless-stopped
ports:
- "3000:3000"
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/version || exit 1
interval: 30s
timeout: 5s
retries: 2