Files
sloth-manager/backend/.env.example
T

47 lines
1.5 KiB
Bash

# Cloudflare
CLOUDFLARE_API_TOKEN=your_cloudflare_api_password
# Loopia
LOOPIA_USER=your_loopia_api_user@loopiaapi
LOOPIA_PASSWORD=your_loopia_api_password
# Pi-hole (v6)
PIHOLE_URL=http://192.168.1.x
PIHOLE_PASSWORD=your_pihole_web_password
# Azure DNS
AZURE_TENANT_ID=your_tenant_id
AZURE_CLIENT_ID=your_client_id
AZURE_CLIENT_SECRET=your_client_secret
AZURE_SUBSCRIPTION_ID=your_subscription_id
# cPanel
CPANEL_URL=https://hostname:2083
CPANEL_USERNAME=your_cpanel_username
CPANEL_API_TOKEN=your_api_token
CPANEL_INSECURE=false # set to true if cPanel uses a self-signed certificate
# Comma-separated list of providers to disable (credentials are kept but provider is hidden)
# Example: DISABLED_PROVIDERS=loopia,cpanel
DISABLED_PROVIDERS=
# Authentik SSO (optional — leave blank to disable the SSO button)
# AUTHENTIK_URL=https://auth.example.com/application/o/sloth-manager
# AUTHENTIK_CLIENT_ID=your_client_id
# AUTHENTIK_CLIENT_SECRET=your_client_secret
# phpIPAM (optional — leave blank to disable phpIPAM integration)
# PHPIPAM_URL=https://ipam.example.com
# PHPIPAM_APP_ID=sloth-manager
# PHPIPAM_TOKEN=your_app_token
# Tailscale (optional — leave blank to disable Tailscale integration)
# TAILSCALE_API_KEY=tskey-api-xxxxxxxxxxxxxxxx
# TAILSCALE_TAILNET=yourorg.github
# Auth — generate a strong random secret, e.g: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
JWT_SECRET=change-this-to-a-long-random-string
JWT_EXPIRES_IN=24h
PORT=3001