services: app: image: gethomepage/homepage:latest container_name: homepage environment: HOMEPAGE_ALLOWED_HOSTS: ${HOMEPAGE_ALLOWED_HOSTS} PUID: ${HOMEPAGE_PUID} PGID: ${HOMEPAGE_PGID} ports: - ${HOMEPAGE_PORT}:3000 volumes: - /home/${HOMEPAGE_USERNAME}/homepage/config:/app/config - /var/run/docker.sock:/var/run/docker.sock:ro healthcheck: test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/api/healthcheck || exit 1"] interval: 10s timeout: 3s start_period: 20s deploy: resources: limits: memory: 512m restart: unless-stopped