32 lines
1.5 KiB
Bash
32 lines
1.5 KiB
Bash
# lore-forge and loreserver settings, read by both systemd units and by lore-forge-certs.
|
|
# deploy/install.sh writes this file once, for the hostname it is given; it never overwrites it.
|
|
|
|
# The one public hostname. lore-forge's pages (443, through Caddy) and loreserver's QUIC and
|
|
# gRPC endpoints (41337, UDP and TCP) share it and its Let's Encrypt certificate.
|
|
LORE_FORGE_HOST=@HOST@
|
|
|
|
# lore-forge's canonical URL. It is the token issuer loreserver trusts and Lore's user
|
|
# directory, so it must not change once people have logged in.
|
|
LORE_FORGE_PUBLIC_URL=https://@HOST@
|
|
|
|
# The tokens' audience. Its host is the one Lore clients connect to.
|
|
LORE_FORGE_LORE_URL=https://@HOST@
|
|
|
|
# The remote people give the Lore CLI and the desktop client, shown on the forge's pages.
|
|
# lores:// checks the certificate; lore:// would send tokens unencrypted.
|
|
LORE_FORGE_LORE_REMOTE=lores://@HOST@:41337
|
|
|
|
# Where lore-forge listens; only Caddy reaches it.
|
|
LORE_FORGE_LISTEN=127.0.0.1:8080
|
|
|
|
# How lore-forge's repository browser reaches loreserver: gRPC over TLS by the public name,
|
|
# which the certificate covers, and file content over loopback HTTP.
|
|
LORE_FORGE_LORE_GRPC_URL=https://@HOST@:41337
|
|
LORE_FORGE_LORE_HTTP_URL=http://127.0.0.1:41339
|
|
|
|
# Where Caddy keeps the certificate it obtains for LORE_FORGE_HOST. lore-forge-certs copies it
|
|
# for loreserver from here.
|
|
CADDY_CERTIFICATES=/var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory
|
|
|
|
RUST_LOG=info,sqlx=warn,tower_http=info
|