Generate config
SimpleDeploy reads its config from /etc/simpledeploy/config.yaml by default. Generate a starter file, then edit three things.
Generate
Section titled “Generate”sudo simpledeploy init --config /etc/simpledeploy/config.yamlThat writes a fully commented YAML file with sensible defaults.
sudo vim /etc/simpledeploy/config.yamlYou must set three fields before starting the server:
# Management UI domain (TLS cert is provisioned for this name)domain: manage.example.com
# TLS via Let's Encrypttls: mode: auto email: you@example.com # ACME account email
# Encryption + signing key. NEVER commit this anywhere.master_secret: "PASTE_LONG_RANDOM_STRING_HERE"Generate the master secret:
openssl rand -hex 32Optional fields you might tweak
Section titled “Optional fields you might tweak”# Where SQLite + local backups livedata_dir: /var/lib/simpledeploy
# Watched directory: each subdirectory = one appapps_dir: /etc/simpledeploy/apps
# Reverse proxy listen addresslisten_addr: ":443"
# Management API + dashboard port (used internally by Caddy)management_port: 8443For metrics retention, rate-limit defaults, and registry config, see the full Configuration reference.
Create the directories
Section titled “Create the directories”If they do not already exist:
sudo mkdir -p /var/lib/simpledeploysudo mkdir -p /etc/simpledeploy/appsValidate
Section titled “Validate”sudo simpledeploy serve --config /etc/simpledeploy/config.yaml --check(or just start the service: errors print to journalctl -u simpledeploy).
Next: create the admin user.