services: doku: image: amerkurev/doku:latest container_name: doku volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - /:/hostroot:ro ports: - ${DOKU_PORT}:9090 restart: unless-stopped healthcheck: test: ["CMD-SHELL", "wget -qO- http://localhost:9090/ || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 10s