Initial setup
- Use digital ocean image with Dokku pre-installed, set up ssh key through web.
apt update&&apt full-upgradeto update packages.dokku apps:create myapp.somedomain.comand addgit remote add dokku dokku@DOKKU_HOSTNAME:myapp.somedomain.com- I used /etc/hosts to access the image from a hostname instead of IP.
- More detailed setup in the various deploy with dokku guides I was following.
Database
dokku plugin:install https://github.com/dokku/dokku-postgres.gitdokku postgres:create somedatabasenamedokku postgres:link somedatabasename myapp.somedomain.com- Use
DATABASE_URLfrom app
Configuring
dokku git:set --global deploy-branch productiondokku git:set myapp.somedomain.com deploy-branch stagingdokku config:set myapp.somedomain.com MY_ENV_VAR=valuedokku config:unset myapp.somedomain.com MY_ENV_VAR
Checking
dokku domains:reportlists domains used per appdokku apps:listfor a simple listdokku report myapp.somedomain.comto get some detailed outputdocker ps --allto see containers that have been runningdokku run myapp.subdomain.com 'whoami'runs shell commands in a container
SSL
Configure with the LetsEncrypt plugin:
dokku plugin:install https://github.com/dokku/dokku-letsencrypt.gitdokku config:set --no-restart myapp.somedomain.com DOKKU_LETSENCRYPT_EMAIL=your@e.maildokku letsencrypt myapp.somedomain.comdokku letsencrypt:cron-job --addto set up auto-renewal
Good Morning!,
Sorry to bother you, but I wanted to ask a quick question. Is there room to improve when it comes to your website? I ask because most sites need edits, tweaks, content, logos, SEO, marketing, branding, etc. and that’s why I reached out to you.
My name is James and I go around the internet and test services and digital marketplaces to see if they’re legitimat. When I come across some great one, I let everyone know what I decided to stick with, and that’s exactly why I reached out to you today.
You can see my 2 big winners here: https://webvetted.com
Go through the sites, find some services you like, reach out to a few people if you want to push your website to be even better š
Thanks
– James
LikeLike