Another "d'oh" moment: #dokku had stopped running my cron jobs. Could't figure out why.
Then realized: in Dokku you configure crons in app.json. Thinking this file was not needed by my app Docker image, I had added it to my .dockerignore file, and Dokku actually needs it to be in the image (I was on a streak of slimming down my Docker image to save deploy time/disk space, so removing files and dirs not required by the app in production).
I wrote a thing. About managing servers. And it even works!
If you use #dokku to deploy your apps, it takes care of lots of the management stuff for you. But you still need to install it, install your app and configure it.
So I wrote Anvil, which does it all for you (once you've written a config file)
`anvil cloudinit generate dokku`
`anvil app install`
`anvil app deploy`
`anvil app scale`
Check out the README for more: https://github.com/standard-procedure/anvil/
Signed up with #hetzner and deployed three personal projects easily via #dokku. They were previously hosted on #heroku, and it was getting to be more expensive. I hesitated because I thought it would be too complicated, but no. It was very easy to do. #dokku and #hetzner FTW!
Aw shucks, it seems like deploying from #SelfHosted #Git is only available on #Netlify's enterprise plan, somehow. That throws a minor wrench into moving away some of my repositories from GitHub.
I'll have to take a closer look at self-hosted Netlify-like alternatives. #AskMastodon #devops does anyone have any experience with #Dokku, #Coolify, #Meli, and #CapRover? Which do you prefer? Does it work with self-hosted Git, too? Please do share, I'd love to hear your thoughts!
#selfhosted #git #netlify #askmastodon #devops #dokku #coolify #meli #CapRover #foss #selfhosting
#dokku is *so* good, perfect self-hosting PAAS for little side projects (on top of a cheap host like Hetzner or Digital Ocean).
Just added a letsencrypt cert for a domain, super simple CLI.
Yesterday I transferred the 3 VPS I had with #GreenCloud to other customers and today I bought another one lol. I had migrated 3 apps to #Heroku but it was $60/mo. I fit the 3 apps in a GreenCloud VPS that costs $25 per YEAR and there is even memory left for other apps lol. I seem unable to let go of self hosting completely :D But $25/year vs $60/month is a huge difference. I am using #Dokku for these apps, so I get an experience similar to Heroku's with git-push based deploys. Dokku is awesome.
I run my side project on a single Hetzner VM using Dokku. Very simple to maintain and deploy and very cheap.
At some point though - should it take off - a single server is not going to be enough and I'll need to expand to a multi-server setup. My current thinking is an Azure or Digital Ocean app with managed Postgres+Redis.
A long way from needing Kubernetes, but might be good to learn for the resume if nothing else.
#dokku #kubernetes #azure #hetzner #digitalocean
@beausimensen I haven’t done much work with it under the surface as I’m running it via #Dokku thanks to @pieceofthepie’s guides here:
https://realmenweardress.es/2022/11/running-your-own-mastodon-instance/
https://realmenweardress.es/2022/11/s3-bucket-proxy-in-dokku/
I might write up some findings soon, if I find the time!
Started the New Year with moving domain on side project to new tld. Turns out Dokku has a redirect plugin which is quite handy:
I'm pretty pleased with snagging that domain
I'm running 2 mastodon instances via #dokku now on the same server :)
I run a single user #Mastodon instance, and thanks to @pieceofthepie and his work wrapping it up in #Dokku it's pretty straightforward! https://realmenweardress.es/2022/11/running-your-own-mastodon-instance/
As of yet I've not had any performance issues. I'm running on a #Hetzner cloud CPX31 instance (4 vCPU 8GB RAM) and have the files and media in a #Backblaze #B2 bucket also via the great work of @pieceofthepie! https://realmenweardress.es/2022/11/s3-bucket-proxy-in-dokku/
#mastodon #dokku #hetzner #backblaze #b2 #selfhosted #mastoadmin
Hey, as I find it hard to be consistent with publishing articles on my #blog, I decided to force myself into publishing one short article every week to acquire some muscle memory for #writing #posts.
The first posts will be part of a “smart bits” #series where I publish short articles about Frequently asked questions about the #tech I'm using, and I'm knowledgeable about.
The first post guides you into how to update #dokku via one simple #CLI #command
#blog #writing #posts #series #tech #dokku #cli #command
Caught the cold my wife's had for the past week (she was off work and really not very well!)
Feeling rough AF right now!
So a Sunday watching trashy films (#Moonfall is amazingly terrible!) and moving #Mastodon files to #S3 via a #Dokku #Nginx proxy thanks to @pieceofthepie's guide on the subject: https://realmenweardress.es/2022/11/s3-bucket-proxy-in-dokku/
#moonfall #mastodon #s3 #dokku #nginx #selfhosted #objectstorage #sendtea #andbiscuits #manflu
Due to my #Instance filling up the storage at an alarming rate I've migrated to storing everything on #S3.
I even wrote it all up in case anyone wants to follow suit (and is also hosting on #Dokku - though please still have a look if you're not)
https://realmenweardress.es/2022/11/s3-bucket-proxy-in-dokku/
#instance #s3 #dokku #selfhost #mastoadmin #mastodonadmin #devops #tech
Been sitting here for over an hour now #dokku #jekyll #ruby #rubygems
https://tilde.zone/@jblive@jupiter.tube/109395478769975693 #selfhostedshow
#dokku #jekyll #ruby #rubygems #selfhostedshow
Hello folks! I've moved from mastodon.social to my own instance I'm running
With many thanks to @pieceofthepie for his guide on running #Mastodon in #Dokku
#SelfHosted #SmallWeb #IndieWeb
https://realmenweardress.es/2022/11/running-your-own-mastodon-instance/
#mastodon #dokku #selfhosted #smallweb #indieweb