n8n 0llama
This commit is contained in:
@@ -15,3 +15,9 @@ GENERIC_TIMEZONE=America/Chicago
|
|||||||
SSL_EMAIL=n8n@noemail.com
|
SSL_EMAIL=n8n@noemail.com
|
||||||
|
|
||||||
DB_SQLITE_POOL_SIZE=10
|
DB_SQLITE_POOL_SIZE=10
|
||||||
|
|
||||||
|
|
||||||
|
OLLAMA_HOST=http://ollama:11434
|
||||||
|
N8N_BASIC_AUTH_ACTIVE=true
|
||||||
|
N8N_BASIC_AUTH_USER=admin
|
||||||
|
N8N_BASIC_AUTH_PASSWORD=secretpassword
|
||||||
@@ -53,6 +53,22 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./n8n_data:/home/node/.n8n
|
- ./n8n_data:/home/node/.n8n
|
||||||
- ./n8n_files:/files
|
- ./n8n_files:/files
|
||||||
|
depends_on:
|
||||||
|
- ollama
|
||||||
|
- traefik
|
||||||
|
|
||||||
|
|
||||||
|
ollama:
|
||||||
|
image: ollama/ollama
|
||||||
|
# Exposes Ollama to all interfaces so other containers can access it
|
||||||
|
environment:
|
||||||
|
- OLLAMA_HOST=0.0.0.0
|
||||||
|
volumes:
|
||||||
|
# Persists models locally so they aren't lost
|
||||||
|
- ollama_data:/root/.ollama
|
||||||
|
networks:
|
||||||
|
- n8n-network
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
traefik_data:
|
traefik_data:
|
||||||
Reference in New Issue
Block a user