Our Dokku deployed wordpress
Add a Database - we used MariaDB cd /var/lib/dokku/plugins git clone https://github.com/Kloadut/dokku-md-plugin mariadb dokku plugins-install mariadb:create blog
Deploy git remote add deploy [email protected]:blog git push deploy master
Add necessary variables to /home/dokku/blog/ENV needed by wordpress see WordPress.org secret-key service or generated with e.g. openssl rand -base64 32
export AUTH_KEY=GENERATED_AUTH_KEY export SECURE_AUTH_KEY=GENERATED_SECURE_AUTH_KEY export LOGGED_IN_KEY=GENERATED_LOGGED_IN_KEY export NONCE_KEY=GENERATED_NONCE_KEY export AUTH_SALT=GENERATED_AUTH_SALT export SECURE_AUTH_SALT=GENERATED_SECURE_AUTH_SALT export LOGGED_IN_SALT=GENERATED_LOGGED_IN_SALT export NONCE_SALT=GENERATED_NONCE_SALT
Link DB with Application mariadb:link blog blog