add models path

This commit is contained in:
arslantu 2024-04-06 10:13:44 +08:00
parent ccfb462fb8
commit 16a377ac12
2 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
version: "3"
services:
api_server:
api_server-1:
build: .
restart: unless-stopped
network_mode: host
volumes:
- ./start.sh:/workspace/start.sh
# change here to mount all your models
- models_path:/workspace/models # "models" contain multiple models
- ./models:/workspace/models # "models" contain multiple models
environment:
# change "main" to your model name
- MODEL_PATH=/workspace/models/main

0
docker/models/.gitkeep Normal file
View File