Last active
October 31, 2020 16:51
-
-
Save sirodoht/ddf4a70be9b0e26effadef1dbeafa4e2 to your computer and use it in GitHub Desktop.
Dokku config commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config with restart | |
dokku config:set mataroa SECRET_KEY='' | |
# config no restart | |
dokku config:set --no-restart mataroa EMAIL_HOST_USER='' | |
dokku config:set --no-restart mataroa EMAIL_HOST_PASSWORD='' | |
# run command | |
dokku run mataroa python manage.py createsuperuser --email [email protected] --username sirodoht | |
# no debug mode | |
dokku config:set mataroa NODEBUG=1 | |
# postgres backups in s3 | |
dokku postgres:backup-auth mataroa-db $AWS_KEY_ID $AWS_KEY_SECRET | |
dokku postgres:backup mataroa-db mataroa/backups | |
dokku postgres:backup-schedule mataroa-db 0 6 * * * mataroa/backups | |
# domains | |
dokku domains:report mataroa | |
dokku domains:add mataroa mataroa.blog | |
dokku domains:remove mataroa mataroa.projects.sirodoht.com | |
dokku letsencrypt mataroa | |
dokku letsencrypt:cron-job --add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment