I'm also assuming that you are still running an Intel Mac, as wefwef for now doesn't provide native ARM containers and you'll have to build them yourself.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I don't see them using --platform=linux/amd64
so I suspect you are correct, that they're using an Intel Mac.
Yes, apologies for not clarifying. It is an Intel Mac!
FYI, this will only work when you are connected to your local network! If you want external access you can configure a VPN for external access (WireGuard) or do some port forwarding and register a domain name and use a reverse proxy (caddy) to serve the app.
Correct! However I’d like to test it with Cloudflare tunnel
Well no. A proper PWA will work while offline. As long as it can talk to the instance, it should work fine.
Setting up something simple like Tailscale should also work to access local network stuff from different networks.
I was going to recommend Tailscale. Such a great lil app
What happens when a new update is available? Do we need to run the docker again? (Noob here :( )
If you're using the tag latest
then you would need to re-pull the image and restart your docker container.
Use Tailscale vpn if you want access from outside your home network. It’s super easy to set up, all you do is install Tailscale on the server and client, and login.
I’ve done a similar thing, though I’m not sure what the point of CUSTOM_LEMMY_SERVERS
is.
It just controls the list of server URLs you see by default.
CUSTOM_LEMMY_SERVERS (optional) e.g. lemmy.world,lemmy.ml,sh.itjust.works - a comma separated list of suggested servers. The first will be used as default view for logged out users. You can specify only one if you want.
That's the attitude, thanks for sharing your new knowledge. Just running the docker run command should pull the image no matter what. So runing docker pull shouldn't be mandatory.
I just started using wefwef. What’s the benefit of self hosting? I have an unraid server I can probably run this on.
You can simply replace the -p 192.168.1.2:5314:5314 with -p 5314:5314.
No need to specify the IP unless your device has multiple (active) network interface and you want to specify which one to use.
You are then able to access by going to localhost:5314.
Additionally, you can skip the docker pull step, when the image is missing the second command will lead to it being pulled automatically.
You should however use it if you want to pull in a newer version of the image.