Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ HF_TOKEN="Hugging Face API Token"

ENVIRONMENT = "mainnet"
NILAI_GUNICORN_WORKERS = 10

# 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"


Expand Down
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ HF_TOKEN="Hugging Face API Token"

ENVIRONMENT = "mainnet"
NILAI_GUNICORN_WORKERS = 10
# 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"


Expand Down
5 changes: 5 additions & 0 deletions caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
reverse_proxy grafana:3000
}

handle_path /grafana {
uri strip_prefix /grafana
reverse_proxy grafana:3000
}

handle {
reverse_proxy api:8443
}
Expand Down
Loading