gitscope
https://dev.kronoz.win/r/marzneshin.git
.env.example · v0.3.2
Source
1 a47eb4c Dawsh 2y ago UVICORN_HOST = "0.0.0.0"
2 a47eb4c Dawsh 2y ago UVICORN_PORT = 8000
3 a47eb4c Dawsh 2y ago
4 5c78ce8 Dawsh 2y ago ## THE FOLLOWING TWO VARIABLES ARE NOT SUPPORTED ANYMORE, USE merzneshin cli.
5 a47eb4c Dawsh 2y ago # SUDO_USERNAME = "admin"
6 a47eb4c Dawsh 2y ago # SUDO_PASSWORD = "admin"
7 a47eb4c Dawsh 2y ago
8 a0e778c Mrdn 2y ago # DASHBOARD_PATH = "/dashboard/"
9 a0e778c Mrdn 2y ago
10 5c78ce8 Dawsh 2y ago # UVICORN_UDS: "/run/marzneshin.socket"
11 5c78ce8 Dawsh 2y ago # UVICORN_SSL_CERTFILE = "/var/lib/marzneshin/certs/example.com/fullchain.pem"
12 5c78ce8 Dawsh 2y ago # UVICORN_SSL_KEYFILE = "/var/lib/marzneshin/certs/example.com/key.pem"
13 a47eb4c Dawsh 2y ago
14 a47eb4c Dawsh 2y ago
15 5c78ce8 Dawsh 2y ago # SUBSCRIPTION_URL_PREFIX = "https://example.com"
16 a47eb4c Dawsh 2y ago
17 a47eb4c Dawsh 2y ago
18 a47eb4c Dawsh 2y ago # TELEGRAM_API_TOKEN = 123456789:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
19 a47eb4c Dawsh 2y ago # TELEGRAM_ADMIN_ID = 987654321, 123456789
20 a47eb4c Dawsh 2y ago # TELEGRAM_LOGGER_CHANNEL_ID = -1234567890123
21 a47eb4c Dawsh 2y ago # TELEGRAM_PROXY_URL = "http://localhost:8080"
22 a47eb4c Dawsh 2y ago
23 a47eb4c Dawsh 2y ago # DISCORD_WEBHOOK_URL = "https://discord.com/api/webhooks/xxxxxxx"
24 a47eb4c Dawsh 2y ago
25 5c78ce8 Dawsh 2y ago # CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzneshin/templates/"
26 406d607 dawsh 2y ago # CLASH_SUBSCRIPTION_TEMPLATE="/var/lib/marzneshin/templates/clash.yml"
27 406d607 dawsh 2y ago # SINGBOX_SUBSCRIPTION_TEMPLATE="/var/lib/marzneshin/templates/sing-box.json"
28 406d607 dawsh 2y ago # XRAY_SUBSCRIPTION_TEMPLATE="/var/lib/marzneshin/templates/xray.json"
29 a47eb4c Dawsh 2y ago # SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
30 a47eb4c Dawsh 2y ago # HOME_PAGE_TEMPLATE="home/index.html"
31 a47eb4c Dawsh 2y ago
32 a47eb4c Dawsh 2y ago # SQLALCHEMY_DATABASE_URL = "sqlite:///db.sqlite3"
33 a47eb4c Dawsh 2y ago
34 a47eb4c Dawsh 2y ago ### for developers
35 a47eb4c Dawsh 2y ago # DOCS=true
36 a47eb4c Dawsh 2y ago # DEBUG=true
37 a47eb4c Dawsh 2y ago # WEBHOOK_ADDRESS = "http://127.0.0.1:9000/"
38 a47eb4c Dawsh 2y ago # WEBHOOK_SECRET = "something-very-very-secret"
39 a47eb4c Dawsh 2y ago # VITE_BASE_API="https://example.com/api/"
40 a47eb4c Dawsh 2y ago # JWT_ACCESS_TOKEN_EXPIRE_MINUTES = 1440