services: web: build: . ports: - "8080:8080" volumes: - data:/data environment: SECURE_COOKIES: "true" restart: unless-stopped healthcheck: test: ["CMD", "/web", "healthcheck"] interval: 30s timeout: 5s start_period: 5s retries: 3 deploy: replicas: 1 volumes: data: