7.18 group_buy 尝试部署-4 前端使用nginx.conf进行配置
This commit is contained in:
parent
08ca4575b0
commit
531306604c
@ -14,7 +14,7 @@ services:
|
|||||||
- '86:80'
|
- '86:80'
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/html:/usr/share/nginx/html
|
- ./nginx/html:/usr/share/nginx/html
|
||||||
- ./nginx/conf:/etc/nginx/conf.d:ro
|
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
privileged: true
|
privileged: true
|
||||||
networks:
|
networks:
|
||||||
- group-buy-network
|
- group-buy-network
|
||||||
@ -64,7 +64,7 @@ services:
|
|||||||
# 4. Java 后端
|
# 4. Java 后端
|
||||||
group-buying-sys:
|
group-buying-sys:
|
||||||
build:
|
build:
|
||||||
context: ../../.. # 从 docs/tag/v1.0 回到项目根
|
context: ../../.. # 从 docs/tag/v2.0 回到项目根
|
||||||
dockerfile: group-buying-sys-app/Dockerfile
|
dockerfile: group-buying-sys-app/Dockerfile
|
||||||
image: smile/group-buying-sys:latest
|
image: smile/group-buying-sys:latest
|
||||||
container_name: group-buying-sys
|
container_name: group-buying-sys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user