How belal-i/dokku-scrubs works
Dokku Scrubs is a command-line wrapper for setting up production websites on Dokku. The documented workflow starts with a user invoking dokku-scrubs with an app and domain, optionally requesting Let’s Encrypt; the README also lists supported application types and multi-subdomain hosting. The tree suggests separate runtime modules for app, domain, database, certificate, and post-deploy work, but no source excerpts were provided, so their internal call relationships are not shown.
Main entry points: dokku-scrubs Scrubs command · letsencrypt.sh Let’s Encrypt
Components 14
Command entry
- Scrubs command
bin/dokku-scrubs
Site setup
- Setup initialization
lib/init.sh - App setup
lib/app.sh - Domain setup
lib/domains.sh - Database setup
lib/db.sh - Let’s Encrypt
lib/letsencrypt.sh - Post-deploy work
lib/post-deploy.sh
Runtime configuration
- Configuration handling
lib/config.sh - Shared routines
lib/common.sh - App filter rules
etc/filter.d - App jail rules
etc/jail.d
Other components
- Operator
- Dokku platform
- Let’s Encrypt service
Connections 4
- Operator → Scrubs command: invokes
README.md - Scrubs command → Dokku platform: wraps setup
README.md - Scrubs command → Let’s Encrypt: requests certificates
README.md - Let’s Encrypt → Let’s Encrypt service: obtains certificates
README.md