2 ms·
> I have spend at least 15 hours trying to self host things with docker with little success ... reading the manual for each app, creating configuration files fo
by jve 7y ago
> I have spend at least 15 hours trying to self host things with docker with little success ... reading the manual for each app, creating configuration files for the app you want to host and then mounting them in to the container, then you have to set up a database, reverse proxy, certificate renewal, and then you have to network it all together
Being with 0 experience with Docker and only with bare Linux experience, I'v set myself to set up nextcloud + mysql + nginx-proxy (with some custom config) + letsencrypt via docker containers on arm platform.
Learning docker basics, some docker-compose, I'v got that set up in a few evenings, maybe some 6 to 10 hours total (including first time experience of setting up raspberry pi with external storage). nginx-proxy being hardest part for me, as perfect image that fits arm platform was made available just after fair amount of searching and trying to understand what it takes to make it compatible with arm.
After all, I was really pleased with what I felt how much docker saved time for me. Maybe not really fast, but some productive full working day that is. I'v learned something about a new technology that gave me nice preconfigured webserver with hardened TLS settings etc. I thought, if I'd have to go down the route of manually installing this dependency, configuring this and that, etc - uh, that would surely have taken me longer.
The other side being a joy was - hey, I can host this all on a single raspberrypi, the frontend is isolated from backend and I can still add stuff behind nginx-proxy (and it will be isolated from nextcloud frontend), as my RAM usage is somwhere around 512MB.
Just wanted to share how I feel about Docker when putting my hands on it (single host, swarmless scenario)
- unityByFreedom 7y agoDocker is great compared to pre-docker times but it does not go as far as Sandstorm. If your widget takes 6 steps, and another otherwise equal one takes 1 step, then whether that widget is for users or developers, the choice is a no-brainer.