init: ALiYunManager 基础设施项目 — nginx配置/docker-compose/部署文档
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# ============================================
|
||||
# Docker Compose 开发环境覆盖配置
|
||||
# 此文件会自动被 docker-compose 加载,无需显式指定
|
||||
# ============================================
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
# 开发环境映射更多日志便于调试
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
||||
- ./nginx/ssl:/etc/nginx/ssl:ro
|
||||
- ./nginx/logs:/var/log/nginx
|
||||
|
||||
resume-web:
|
||||
# 开发环境自动重载静态文件
|
||||
volumes:
|
||||
- ./services/resume-web/html:/usr/share/nginx/html:ro
|
||||
- ./services/resume-web/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
|
||||
miniapp-web:
|
||||
volumes:
|
||||
- ./services/miniapp-web/html:/usr/share/nginx/html:ro
|
||||
- ./services/miniapp-web/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
Reference in New Issue
Block a user