Files
wecom-ai-assistant/docker-compose.release.yml
bujie9527 0bd860f956
Some checks failed
Build and Deploy / test-backend (push) Has been cancelled
Build and Deploy / build-backend (push) Has been cancelled
Build and Deploy / build-admin (push) Has been cancelled
Deploy to Production / build-backend (push) Has been cancelled
Deploy to Production / deploy (push) Has been cancelled
Add DevOps release and deployment configuration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-05 22:59:28 +08:00

31 lines
787 B
YAML

# 发布构建配置
# 用途:构建并推送 Docker 镜像到私有 Registry
# 使用: TAG=v1.0.0 docker compose -f docker-compose.release.yml build
version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
image: registry.667788.cool/wecom-backend:${TAG:-latest}
tags:
- registry.667788.cool/wecom-backend:${TAG:-latest}
admin:
build:
context: ./admin
dockerfile: Dockerfile
image: registry.667788.cool/wecom-admin:${TAG:-latest}
tags:
- registry.667788.cool/wecom-admin:${TAG:-latest}
nginx:
build:
context: ./deploy/nginx
dockerfile: Dockerfile
image: registry.667788.cool/wecom-nginx:${TAG:-latest}
tags:
- registry.667788.cool/wecom-nginx:${TAG:-latest}