28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
SERVICE_NAME=scanopy
|
|
DOMAIN_NAME=example.com
|
|
### - Server
|
|
SCANOPY_DATABASE_URL=postgresql://postgres:password@localhost:5432/scanopy
|
|
SCANOPY_PUBLIC_URL=http://${SERVICE_NAME}.${DOMAIN_NAME}:60072
|
|
SCANOPY_LOG_LEVEL=info
|
|
# SCANOPY_DISABLE_REGISTRATION=true
|
|
# SCANOPY_DISABLE_PASSWORD_LOGIN=true
|
|
## - uncomment below when using HTTPS
|
|
# SCANOPY_USE_SECURE_SESSION_COOKIES=true
|
|
|
|
### - SMTP (optional - for password reset and notifications)
|
|
# SCANOPY_SMTP_RELAY=smtp.gmail.com
|
|
# [email protected]
|
|
# SCANOPY_SMTP_PASSWORD=your-app-password
|
|
# [email protected]
|
|
## - Optional. Defaults to 465 (implicit TLS). Other ports use STARTTLS (e.g. 587, 25).
|
|
# SCANOPY_SMTP_PORT=587
|
|
|
|
### - To configure OIDC (optional), use the oidc.toml.example file
|
|
|
|
### - Metrics (optional - for Prometheus/Grafana)
|
|
# SCANOPY_METRICS_TOKEN=your-secure-token-here
|
|
## - Restrict metrics access to specific IPs/CIDRs (comma-separated)
|
|
# SCANOPY_EXTERNAL_SERVICE_PROMETHEUS_ALLOWED_IPS=192.168.1.0/24,10.0.0.1
|
|
|
|
### - Daemon
|
|
# SCANOPY_DAEMON_API_KEY=<autogenerated> |