-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.sample
More file actions
52 lines (40 loc) · 1.39 KB
/
.env.sample
File metadata and controls
52 lines (40 loc) · 1.39 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copy this file to nilai/.env and set the values accordingly
# This file is used to set the environment variables for the project
# You shouldn't commit this file to the repository
# (!) You should replace the values with your own and not share them with anyone
# Hugging Face API Token
HF_TOKEN="Hugging Face API Token"
ENVIRONMENT = "mainnet"
NILAI_GUNICORN_WORKERS = 10
AUTH_STRATEGY = "api_key"
# Token to be whitelisted for queries
DOCS_TOKEN="Nillion2025"
# The domain name of the server
# - It must be written as "localhost" or "test.nilai.nillion"
# - Do not put "https://" or "http://" in the domain name or / at the end
NILAI_SERVER_DOMAIN = "localhost"
# Attestation Config
ATTESTATION_HOST = "attestation"
ATTESTATION_PORT = 8080
# nilAuth Trusted URLs
NILAUTH_TRUSTED_ROOT_ISSUERS = "http://localhost:30921"
# Postgres Docker Compose Config
POSTGRES_HOST = "postgres"
POSTGRES_USER = "user"
POSTGRES_PASSWORD = "password"
POSTGRES_DB = "mydb"
POSTGRES_DB_NUC = "mydb_nuc"
POSTGRES_DB_TESTNET = "mydb_testnet"
POSTGRES_PORT = 5432
# Redis Docker Compose Config
REDIS_URL = "redis://redis:6379"
# Model Discovery Redis Docker Compose Config
DISCOVERY_URL = "redis://redis:6379"
# Etcd Docker Compose Config
ETCD_HOST = "etcd"
ETCD_PORT = 2379
# Grafana Docker Compose Config
GF_SECURITY_ADMIN_USER = "admin"
GF_SECURITY_ADMIN_PASSWORD = "password"
# WebSearch Settings
BRAVE_SEARCH_API = "Your API here"