feat(just): enable volume and add access info for ollama-web (#1380)

This commit is contained in:
Laatansa 2024-06-09 21:11:28 +07:00 committed by GitHub
parent cf2c940a88
commit 795e74975f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -138,6 +138,7 @@ ollama-web: ollama
Environment=OLLAMA_BASE_URL=http://ollama:11434
Environment=WEBUI_SECRET_KEY=abc123
Environment=DEFAULT_USER_ROLE=admin
Volume=open-webui:/app/backend/data
# Open WebUI does not allow access without a user account, nor does it allow
# account creation via environment variables.
Environment=ENABLE_SIGNUP=true
@ -158,6 +159,7 @@ ollama-web: ollama
fi
systemctl --user daemon-reload
systemctl --user start ollama-web.service
echo "Ollama Web UI container started. You can access it at http://localhost:8080"
# Setup InvokeAI in a container
invokeai: