Files
chat-one-service/deploy/docker/docker-compose.yml
alboped 3076b7ec54
Some checks failed
CI / ci (push) Failing after 2s
chore: 重构 CI/CD 与 Docker 发布流程
将部署链路调整为 CI 构建推送镜像、服务器拉取镜像运行,并拆分/复用 Gitea workflow 与公共准备脚本;同时统一 APP_NAME 与端口变量配置,补充 Docker 与 ESLint 相关配置文件以提升可维护性。

Made-with: Cursor
2026-04-28 01:44:37 +08:00

10 lines
205 B
YAML

services:
app:
image: ${IMAGE_REPO}:${IMAGE_TAG}
container_name: ${APP_NAME}-app
restart: unless-stopped
env_file:
- ./.env
ports:
- "127.0.0.1:${HOST_BIND_PORT}:${PORT}"