mirror of
https://github.com/blackboxprogramming/blackroad.io.git
synced 2026-03-18 05:34:03 -05:00
Route all chat requests to local Ollama; support @copilot, @lucidia, @blackboxprogramming, @ollama mentions
Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,15 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: blackroad-ollama
|
||||
ports:
|
||||
- "11434:11434"
|
||||
volumes:
|
||||
- ollama_data:/root/.ollama
|
||||
restart: unless-stopped
|
||||
|
||||
lucidia-api:
|
||||
build: .
|
||||
container_name: lucidia-api
|
||||
@@ -11,8 +20,11 @@ services:
|
||||
- .:/app
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=http://ollama:11434
|
||||
depends_on:
|
||||
- nginx
|
||||
- ollama
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
@@ -22,3 +34,6 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
|
||||
volumes:
|
||||
ollama_data:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user