i finished writing blog post on how i'm using a free tier VM (i'm frugal) to expose web app(s) running self-hosted on my local network to the rest of the Internet.
u can read it via my microblog.pub (ActivityPub) https://pub.ennui.page/articles/ccb66c2/exposing-web-apps-from-my-local-network-using-oracle-cloud-free-tier-caddy-reverse-ssh-tunnel
or via my listed.to blog https://blog.ennui.page/41850/exposing-web-apps-from-my-local-network-using-oracle-cloud-free-tier-caddy-reverse-ssh-tunnel
it is probably too long. i wanted to refine my notes for myself, but also for it to be useful to someone doing stuff like this for the first time, since i was bouncing between different blog posts and articles and other Q&As figuring this out myself. in case u actually try to do this and have any questions lmk
(sorry repost, fixed something)
@[email protected] aw thank u! it's prob a bit more cumbersome than ynh but i can host whatev docker images i can get working. i just set up gitea for Fun
@zero i really wanna learn how to self host outside of ynh because docker seems really diverse with what you can host, just scared of figuring out the subdomains and email stuff on my own
@[email protected] oh yeah I haven't touched anything involving email lol. mostly doing things that will be mostly used by myself, and email has been a non required thing for what I set up so far (this, lychee, gitea)
figuring out subdomains has been surprisingly easy actually! I just have DNS records set up like in the post (just root and * pointing to the A record of the public server IP) and just add sections to my Caddy config like
subdomain.example.com { reverse_proxy 9000 }
(or whatev application port) and bam new docker container running on external/host port 9000 can be reached there now AND caddy does https certs automatically too. a lot of default instructions for web things mention using nginx seemed overwhelming to config https/subdomains on if unfamiliar with nginx, but caddy can basically do the same things with simpler config
also I tried to spin up pixelfed on docker just to see if i could and it was too confusing. i don't have a real use case for it fortunately, but ynh seems the way to go for anything of pixelfed complexity.
@zero I'll try this stuff on my own one day, hopefully this summer maybe.
For now I have to survive this next semester. It starts tomorrow and I am overwhelmed because I have so much to do in terms of personal projects, and a full school schedule 🥴🥴
@[email protected] oof ur semester starts this early?? (i feel like mine was later January back when I was in school). good luck with the school grind
once u got some fun personal or school projects done u could host 'em like this for that resume/portfolio nonsense! (god I don't miss having to do that lol)
@zero we got out like december 17th so it makes sense, but ye im trying to get a small portfolio going. i wanna make a couple foss, android apps(CarBar- FLOSS Android Auto alternative, BPRevived- Blade Player rewrite & overhaul with material you, synced lyrics, invidious accs, spotify accs, and soundcloud support) and im also currently being contracted by a small local business to design them a website so,, hopefully i can pull all that off lol
@[email protected] that list scares me lol but i hope u can! or pull off at least what u need to at this time
@zero i have a small prototype for carbar i made back in august, but i wanna take time to actually learn android development instead of looking up basic things like how permissions work n stuff. i also am planning to use the codebase blade player has, as well as possibly stealing a bit from ViMusic. Both are foss so at the very least i'm not starting from scratch on either project. i just hope i find time to fit those in this year. (1/2)
@zero i need to get a priority list going so i can manage my adhd to do all of that. hoping to get public betas of both out by the end of the year. and then the website shouldn't be too hard. it's just html css and js lol (2/2)
@zero bookmarking this❤️