build
This commit is contained in:
parent
98c937e079
commit
8853903b67
|
|
@ -1,6 +1,7 @@
|
||||||
services:
|
services:
|
||||||
workflow-server:
|
workflow-server:
|
||||||
container_name: workflow-server
|
container_name: workflow-server
|
||||||
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- workflow
|
- workflow
|
||||||
build:
|
build:
|
||||||
|
|
@ -10,6 +11,7 @@ services:
|
||||||
|
|
||||||
workflow-web:
|
workflow-web:
|
||||||
container_name: workflow-web
|
container_name: workflow-web
|
||||||
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- workflow
|
- workflow
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
|
|
@ -17,7 +19,7 @@ services:
|
||||||
- ./frontend/dist:/usr/share/nginx/html # 挂载前端构建文件
|
- ./frontend/dist:/usr/share/nginx/html # 挂载前端构建文件
|
||||||
- ./frontend/nginx.conf:/etc/nginx/conf.d/default.conf # 挂载 Nginx 配置
|
- ./frontend/nginx.conf:/etc/nginx/conf.d/default.conf # 挂载 Nginx 配置
|
||||||
ports:
|
ports:
|
||||||
- "1338:80" # 将 Nginx 的 80 端口映射到主机的 1337 端口
|
- "8002:80" # 将 Nginx 的 80 端口映射到主机的 1337 端口
|
||||||
depends_on:
|
depends_on:
|
||||||
- workflow-server # 确保 Sanic 服务先启动
|
- workflow-server # 确保 Sanic 服务先启动
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue