add models path
This commit is contained in:
		| @ -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
									
								
							
		Reference in New Issue
	
	Block a user