0908
This commit is contained in:
15
office-site/docker-compose.yml
Normal file
15
office-site/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
image: zeshu-office-site:latest
|
||||
container_name: zeshu-office-site
|
||||
ports:
|
||||
- "8080:80" # 宿主机 8080 → 容器 80,可改为 "80:80"
|
||||
restart: unless-stopped
|
||||
# 如需挂载本地文件实时预览(开发用),取消下面两行注释
|
||||
# volumes:
|
||||
# - ./index.html:/usr/share/nginx/html/index.html:ro
|
||||
# - ./guide.html:/usr/share/nginx/html/guide.html:ro
|
||||
# - ./report.html:/usr/share/nginx/html/report.html:ro
|
||||
# - ./support.html:/usr/share/nginx/html/support.html:ro
|
||||
# - ./assets:/usr/share/nginx/html/assets:ro
|
||||
Reference in New Issue
Block a user