部署
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Failing after 2s

This commit is contained in:
2026-03-31 20:48:21 +08:00
parent 3c62cc1cd1
commit 12a73789e2
4 changed files with 387 additions and 0 deletions

26
docker-compose.prod.yml Normal file
View File

@@ -0,0 +1,26 @@
version: '3.8'
services:
web:
image: registry.boss160.cn/junhong/agent-company-web:latest
container_name: junhong-agent-company-web
restart: unless-stopped
ports:
- '3002:80'
networks:
- junhong-network
healthcheck:
test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://127.0.0.1:80/health']
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
logging:
driver: 'json-file'
options:
max-size: '10m'
max-file: '3'
networks:
junhong-network:
driver: bridge