Add DevOps release and deployment configuration
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
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
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
30
docker-compose.release.yml
Normal file
30
docker-compose.release.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
# 发布构建配置
|
||||
# 用途:构建并推送 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}
|
||||
Reference in New Issue
Block a user