-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.ci
More file actions
59 lines (46 loc) · 1.86 KB
/
Copy path.env.ci
File metadata and controls
59 lines (46 loc) · 1.86 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
53
54
55
56
57
58
59
# 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 = 2
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://nilauth-credit-server:3000"
CREDIT_API_TOKEN = "n i l l i o n"
# Admin token for pricing management API
ADMIN_TOKEN = "SecretAdminToken"
# 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"
# Grafana Docker Compose Config
GF_SECURITY_ADMIN_USER = "admin"
GF_SECURITY_ADMIN_PASSWORD = "password"
# WebSearch Settings
BRAVE_SEARCH_API = "Your API here"
# NilDB Configuration (Required)
NILDB_NILCHAIN_URL=http://rpc.testnet.nilchain-rpc-proxy.nilogy.xyz
NILDB_NILAUTH_URL=https://nilauth.sandbox.app-cluster.sandbox.nilogy.xyz
NILDB_NODES=https://nildb-stg-n1.nillion.network,https://nildb-stg-n2.nillion.network,https://nildb-stg-n3.nillion.network
NILDB_BUILDER_PRIVATE_KEY=0x1234567890abcdef1234567890abcdef12345678
NILDB_COLLECTION=12345678-1234-1234-1234-123456789012