clustered-fucks/compose-files/replicant/watchstate/docker-compose.yml

31 lines
696 B
YAML

services:
watchstate:
image: ghcr.io/arabcoders/watchstate:latest
container_name: watchstate
user: "1000:1000"
environment:
- TZ=America/Indiana/Indianapolis
volumes:
- ./config:/config:rw
ports:
- "8585:8080"
restart: unless-stopped
networks:
- proxy
deploy:
resources:
limits:
memory: 512M
cpus: '1.0'
labels:
- "autoheal=true"
- "com.centurylinklabs.watchtower.enable=true"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/v1/api/system/healthcheck || exit 1"]
interval: 30s
timeout: 10s
retries: 3
networks:
proxy:
external: true