Initial commit: local SQL expert AI (Ollama + CLI + prompts + systemd timer)
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: ollama
|
||||
restart: unless-stopped
|
||||
|
||||
# Uses the host network stack (routing/DNS identical to the host, incl. br0)
|
||||
network_mode: "host"
|
||||
|
||||
volumes:
|
||||
- ollama:/root/.ollama
|
||||
|
||||
environment:
|
||||
# Keep model in memory a bit (optional)
|
||||
OLLAMA_KEEP_ALIVE: "10m"
|
||||
|
||||
volumes:
|
||||
ollama:
|
||||
Reference in New Issue
Block a user