Files
gt-agent-company/docker-compose.prod.yml
luo 81f2724a2b
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 1m31s
fix: config
2026-07-29 10:52:35 +08:00

30 lines
624 B
YAML

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
tmpfs:
- /run:rw
- /tmp:rw
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