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