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, generated by `init`. NEVER commit this anywhere.master_secret: "<64 random hex characters>"init generates a random master_secret for you and refuses to overwrite an existing config (--force replaces the whole file with defaults and a new master_secret, which makes stored credentials unreadable). To set one by hand, use openssl rand -hex 32. Example or placeholder values from the docs log a warning at startup (sessions then use a random key from data_dir), and secrets shorter than 32 characters also log a warning.
Optional 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.