fixed the gpu docker compose renaming
This commit is contained in:
@@ -1,6 +1,19 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
app:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
- 5678:5678
|
||||||
|
volumes:
|
||||||
|
- .:/code
|
||||||
|
command: uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- ollama
|
||||||
|
- ollama-webui
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
volumes:
|
volumes:
|
||||||
- ./ollama/ollama:/root/.ollama
|
- ./ollama/ollama:/root/.ollama
|
||||||
|
|||||||
Reference in New Issue
Block a user