7.18 group_buy 尝试部署-4 前端使用nginx.conf进行配置

This commit is contained in:
zhangsan 2025-07-18 17:44:42 +08:00
parent 08ca4575b0
commit 531306604c

View File

@ -14,7 +14,7 @@ services:
- '86:80'
volumes:
- ./nginx/html:/usr/share/nginx/html
- ./nginx/conf:/etc/nginx/conf.d:ro
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf:ro
privileged: true
networks:
- group-buy-network
@ -64,7 +64,7 @@ services:
# 4. Java 后端
group-buying-sys:
build:
context: ../../.. # 从 docs/tag/v1.0 回到项目根
context: ../../.. # 从 docs/tag/v2.0 回到项目根
dockerfile: group-buying-sys-app/Dockerfile
image: smile/group-buying-sys:latest
container_name: group-buying-sys