services: goodwe: build: context: . dockerfile: Dockerfile image: goodwe container_name: goodwe restart: unless-stopped env_file: - .env volumes: - ./src:/app/src:ro network_mode: host extra_hosts: - "host:${HOST_IP}" healthcheck: test: ["CMD-SHELL", "find /tmp/healthy -mmin -11 | grep -q . || exit 1"] interval: 30s timeout: 5s retries: 3