Add ACME_EMAIL to root .env.example. start.sh now reads root .env and passes it to docker compose. Removed infra/.env.example.
23 lines
768 B
Text
23 lines
768 B
Text
# Copy to .env and fill in values before running locally with `cargo run`.
|
|
|
|
# Where HIY stores its SQLite database, build checkouts, and env files.
|
|
HIY_DATA_DIR=./data
|
|
|
|
# Address the server listens on.
|
|
HIY_ADDR=0.0.0.0:3000
|
|
|
|
# Path to the build script (relative to CWD when running the server binary).
|
|
HIY_BUILD_SCRIPT=./builder/build.sh
|
|
|
|
# Caddy admin API URL (used by build.sh to update routing).
|
|
CADDY_API_URL=http://localhost:2019
|
|
|
|
# Suffix appended to app names to form subdomains: myapp.<DOMAIN_SUFFIX>
|
|
# Use "localhost" for local dev, your real domain on the Pi.
|
|
DOMAIN_SUFFIX=localhost
|
|
|
|
# Email for Let's Encrypt registration (production only; ignored for localhost).
|
|
ACME_EMAIL=you@yourdomain.com
|
|
|
|
# Rust log filter.
|
|
RUST_LOG=hiy_server=debug,tower_http=info
|