# 部署机 192.168.100.132:/home/workspace/sundynix-site/ 使用 # 镜像由 CI 用 docker save + scp + docker load 送入,标签固定 sundynix-site:latest services: site: image: sundynix-site:latest container_name: sundynix-site restart: unless-stopped env_file: - .env ports: # 暴露给本机内网穿透客户端;公网 nginx 经隧道回源到这里 - "8090:8090" healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8090/api/healthz"] interval: 30s timeout: 5s retries: 3 start_period: 10s