A simple selfhosted URL shortener with no unnecessary features. Simplicity and speed are the main foci of this project. The docker image is ~6 MB (compressed), and it uses <5 MB of RAM under regular use.
A simple selfhosted URL shortener with no unnecessary features. Simplicity and speed are the main foci of this project. The docker image is ~6 MB (compressed), and it uses <5 MB of RAM under regular use.
So why would this need docker at all?
Makes it easier to distribute and set up
Like the other guy said, it’s not necessary. But docker makes it much easier to deploy. There are instructions to set it up without docker as well.
I find dockerization tends to make things waaaay easier to bring up/take down with simple yet consistent configuration schemes. I distribute all my self hosted stuff across a small cluster of machines- if I want to move a service from one to another it’s as easy as moving the config folder and the docker-compose. Don’t need to have startup scripts, or remembering installation steps after a fresh install, or worry about python/package versions. Plus it helps keep track of what services are set up, soni don’t have to worry about leaving anything unused but still installed and running. And updating is as easy as pulling the images and recreating the containers.