Files
Numbus/configuration-files/numbus-backup-server.conf
T

147 lines
5.8 KiB
Plaintext

### -----------------> ###
### MANDATORY SETTINGS ###
## Live target settings
# The IP address of the machine to install NixOS on (must be reachable via SSH).
export LIVE_TARGET_IP="192.168.1.10"
# The password of the live installer environment (the one you set using 'passwd' on the live machine).
export LIVE_TARGET_PASSWD="example"
## Backup server settings
# The language/keyboard layout (e.g. FR, EN, DE).
export SERVER_LANGUAGE="FR"
# The system locale (e.g. fr_FR, en_US, de_DE).
export SERVER_LOCALE="fr_FR"
# The timezone (e.g. Europe/Paris, America/New_York, Europe/Berlin).
export SERVER_TIMEZONE="Europe/Paris"
# The name of the server owner. Used in mails and for identification (if you bought support or have multiple servers).
export SERVER_OWNER_NAME="yourName"
# The email address where services notifications and alerts will be sent.
export SERVER_USER_EMAIL="user@your-domain.com"
# The email address where system failure notifications and alerts will be sent.
export SERVER_ADMIN_EMAIL="admin@your-domain.com"
# A list of SSH public keys allowed to log in as the administrator.
export SERVER_AUTHORIZED_SSH_PUBKEYS=( "ssh-ed25519 AAAAoefzefpoipoeCEZJCPEACPAcjapjcpajepcjAPJECJPEJAPJAZ yours@yourdomain.com" )
## Traefik settings
# Cloudflare API token with "Zone:DNS:Edit" permissions for automatic renewal of Let's Encrypt certificates.
export CLOUDFLARE_DNS_API_TOKEN="yourToken"
## Smtp settings
# The email account used by the server to send outgoing notifications.
export SMTP_SERVER_USERNAME="your-address@gmail.com"
# The password for the email account (use an App Password if using Gmail/2FA).
export SMTP_SERVER_PASSWORD="emrp raps vzoi vnoe"
export SMTP_SERVER_HOST="smtp.yourdomain.com"
export SMTP_SERVER_PORT="587"
## Network settings
# The local network subnet in CIDR notation (e.g. 192.168.1.0/24).
export NETWORK_SUBNET="192.168.1.0/24"
# The IP address of your internet router/gateway.
export NETWORK_ROUTER_IP="192.168.1.1"
# The static IP address to assign to this server (must be outside the router's DHCP range).
export HOME_SERVER_IP="192.168.1.5"
## Services settings
# The root domain name for your services (e.g. example.com).
export DOMAIN_NAME="yourdomain.com"
## Web applications
# All apps are open-source, fully local
export SELECTED_WEB_APPLICATIONS=(
# Minecraft server(s) manager. Supports Bedrock and Java, Dynmap. https://craftycontrol.com/
"crafty"
# Network-Video-Recorder with advanced features such as person detection, face recognition. https://frigate.video/
"frigate"
# Full-featured git platform. Replace GitHub with your own and stop AI bots from accessing your code. https://about.gitea.com/
"gitea"
# Home automation platform. Every smart home devices in one place. Endless automation options. Integrates with Frigate to get notified when someone is detected. https://www.home-assistant.io/
"home-assistant"
# A modern, secure, highly customizable application dashboard. https://gethomepage.dev/
"homepage"
# Photos backup platform similar to Google Photos. Advanced features such as face and object recognition powered search. https://immich.app/
"immich"
# A set of super useful tools when doing IT. https://it-tools.tech/
"it-tools"
# The Free Software Media System. Stream to any device from your own server, with no strings attached. https://jellyfin.org/
"jellyfin"
# Workflow automation for technical people. node-based workflow automation tool. https://n8n.io/
"n8n"
# Network boot various operating system installers and utilities from one place. https://netboot.xyz/
"netbootxyz"
# The most popular self-hosted collaboration platform. File sharing, productivity, and groupware. https://nextcloud.com/
"nextcloud"
# Send push notifications to your phone or desktop via PUT/POST. https://ntfy.sh/
"ntfy"
# Open Source ERP and CRM. https://www.odoo.com/
"odoo"
# Open source password manager for teams. Security first, privacy focused. https://www.passbolt.com/
"passbolt"
# A fancy self-hosted monitoring tool. https://uptimekuma.org/
"uptime-kuma"
# Free/Libre Open Source Software Binaries of VS Code. Run VS Code in your browser. https://vscodium.com/
"vscodium"
)
## System services
# All apps are open-source, fully local
export SELECTED_SYSTEM_SERVICES=(
# Backup your numbus-server using this client.
"backup-client"
# Anti-virus software. Will scan the system periodically. Will scan on-access the data stored in your services' data directories : for example, where your Nextcloud data is. https://www.clamav.net/
"clamav"
# Virtualization host software. Uses Qemu/KVM. Run VMs with near-native performance and device passthrough capabilities. https://www.qemu.org/
"virtualization"
)
### MANDATORY SETTINGS ###
### <----------------- ###
### -----------------> ###
### OPTIONAL SETTINGS ###
## Web applications subdomain
# Subdomains for each selected web application.
# ⚠️ The order must strictly match the SELECTED_WEB_APPLICATIONS array above. The below example would be correct if you selected every service in the SELECTED_WEB_APPLICATIONS array.
export SELECTED_WEB_APPLICATIONS_SUBDOMAIN=(
"my-crafty-subdomain"
"my-frigate-subdomain"
"my-gitea-subdomain"
"my-home-assistant-subdomain" # Example : your Home-assistant URL will be ; https://my-home-assistant-subdomain.yourdomain.com/
"my-homepage-subdomain"
"my-immich-subdomain"
"my-it-tools-subdomain"
"my-jellyfin-subdomain" # Example : your Jellyfin URL will be ; https://my-jellyfin-subdomain.yourdomain.com/
"my-n8n-subdomain"
"my-netbootxyz-subdomain"
"my-nextcloud-subdomain"
"my-ntfy-subdomain"
"my-odoo-subdomain"
"my-passbolt-subdomain"
"my-uptime-kuma-subdomain"
"my-vscodium-subdomain"
)
## Script settings
# Enable verbose logging for debugging purposes.
export DEBUG="true"
### OPTIONAL SETTINGS ###
### <----------------- ###