ollama over the network

edit /etc/systemd/system/ollama.service.d/override.conf

[Service]
Environment="OLLAMA_HOST=0.0.0.0:11434"
Environment="OLLAMA_ORIGINS=*"```

and restart

sudo systemctl daemon-reload sudo systemctl restart ollama