添加端口映射
This commit is contained in:
@@ -14,6 +14,8 @@ services:
|
|||||||
- ./log:/app/log
|
- ./log:/app/log
|
||||||
- ./model:/app/model
|
- ./model:/app/model
|
||||||
command: [ "det_api.py" ]
|
command: [ "det_api.py" ]
|
||||||
|
ports:
|
||||||
|
- "5000:5000" # 映射端口
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
|
|||||||
Reference in New Issue
Block a user