Rework networking a bit

This commit is contained in:
2025-04-24 20:08:17 -03:00
parent 39f5965781
commit 5791fc9b83
5 changed files with 19 additions and 20 deletions

View File

@ -8,6 +8,10 @@ services:
ports:
- 9009:8080
environment:
- 'OLLAMA_BASE_URL=http://127.0.0.1:11434'
- 'OLLAMA_BASE_URL=http://ollama-network:11434'
# - 'WEBUI_SECRET_KEY=' Set this for jwt secret key. Should be rendomly generated at start
restart: unless-stopped
restart: unless-stopped
networks:
- ollama-network
depends_on:
- ollama