# Ollama URL for the backend to connect
# The path '/ollama' will be redirected to the specified backend URL
OLLAMA_BASE_URL='http://localhost:11434'

OPENAI_API_BASE_URL=''
OPENAI_API_KEY=''

# AUTOMATIC1111_BASE_URL="http://localhost:7860"

# For production, you should only need one host as
# fastapi serves the svelte-kit built frontend and backend from the same host and port.
# To test with CORS locally, you can set something like
# CORS_ALLOW_ORIGIN='http://localhost:5173;http://localhost:8080'
CORS_ALLOW_ORIGIN='127.0.0.1'

# For production you should set this to match the proxy configuration (127.0.0.1)
FORWARDED_ALLOW_IPS='127.0.0.1'

# DO NOT TRACK
SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false

DEFAULT_LOCALE=__LANGUAGE__

ADMIN_EMAIL=__MAIL__

ENV="prod"

WEBUI_NAME="Open WebUI for YunoHost"

PORT=__PORT__

DATA_DIR="__DATA_DIR__"

#LDAP
ENABLE_LDAP=True
LDAP_SERVER_HOST=localhost
LDAP_SERVER_PORT=389
LDAP_USE_TLS=False
LDAP_SEARCH_BASE=ou=users,dc=yunohost,dc=org
LDAP_SEARCH_FILTER="(&(objectclass=posixAccount)(uid=%s)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))"
LDAP_ATTRIBUTE_FOR_USERNAME=uid
LDAP_ATTRIBUTE_FOR_MAIL=mail
LDAP_APP_DN=uid=__APP__,ou=apps,dc=yunohost,dc=org
