add models path
This commit is contained in:
parent
ccfb462fb8
commit
16a377ac12
|
@ -1,13 +1,13 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
api_server:
|
api_server-1:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./start.sh:/workspace/start.sh
|
- ./start.sh:/workspace/start.sh
|
||||||
# change here to mount all your models
|
# change here to mount all your models
|
||||||
- models_path:/workspace/models # "models" contain multiple models
|
- ./models:/workspace/models # "models" contain multiple models
|
||||||
environment:
|
environment:
|
||||||
# change "main" to your model name
|
# change "main" to your model name
|
||||||
- MODEL_PATH=/workspace/models/main
|
- MODEL_PATH=/workspace/models/main
|
||||||
|
|
0
docker/models/.gitkeep
Normal file
0
docker/models/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user