mleku on Nostr: the tunnel is so i can test them on my dev machine while the apps are dumb and don't ...
the tunnel is so i can test them on my dev machine while the apps are dumb and don't like no SSL - that's the main reason... at the front of it is a reverse proxy that handles letsencrypt SSL certificates and neat specifications about where to forward traffic with that destination in the HTTP header
for real deployments, docker just complicates things
you have to configure all the network bits to link together
if you are in development you only use them to avoid polluting your dev environment, which is already fit to the task, personally, i avoid SQL and relational databases if i can do the data storage in the app itself
docker is a tool to make admins life easier, for the most part, and also sorta useful for building packages for other linux environments
for actually running them as services, nspawn is better, same container, much lighter overhead, you don't have all those container layers and overlay filesystems chewing up space on your expensive server, while you isolate these complicated runtime environments and possibly dodgy apps inside them
docker is probably a good way to build environments to throw online as nspawn containers tho
i have it on my machine but almost never use it
for real deployments, docker just complicates things
you have to configure all the network bits to link together
if you are in development you only use them to avoid polluting your dev environment, which is already fit to the task, personally, i avoid SQL and relational databases if i can do the data storage in the app itself
docker is a tool to make admins life easier, for the most part, and also sorta useful for building packages for other linux environments
for actually running them as services, nspawn is better, same container, much lighter overhead, you don't have all those container layers and overlay filesystems chewing up space on your expensive server, while you isolate these complicated runtime environments and possibly dodgy apps inside them
docker is probably a good way to build environments to throw online as nspawn containers tho
i have it on my machine but almost never use it