-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.env.jinja
30 lines (24 loc) · 1005 Bytes
/
.env.jinja
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DATA_DIR="{{data_dir}}"
#--- cloudflare tunnel configuration ---
TUNNEL_NAME="{{tunnel_name}}"
#--- caddy configuration ---
# get the token from the Cloudflare dashboard:
# `My Profile` > `API Tokens` > `Create Token` > `Edit Zone DNS` >
# `Zone:DNS:Edit` > `Include:Specific Zone:example.com` >
# `Continue to Summary` > `Create Token`
CLOUDFLARE_API_TOKEN="{{cloudflare_api_token}}"
DOMAIN_NAME="{{domain_name}}"
API_SUBDOMAIN="{{api_subdomain}}"
APP_SUBDOMAIN="{{app_subdomain}}"
# generate a secret key, for example with Python:
# python -c "import secrets; print(secrets.token_urlsafe())"
OLLAMA_API_KEY="{{ollama_api_key}}"
OLLAMA_URL="{{ollama_url}}"
#--- open webui configuration ---
# the port the webui will be available on localhost
WEBUI_PORT={{webui_port}}
# the service name of the webui
WEBUI_SERVICE_NAME="{{webui_service_name}}"
# generate a secret key, for example with Python:
# python -c "import secrets; print(secrets.token_urlsafe())"
WEBUI_SECRET_KEY="{{webui_secret_key}}"