So here’s my situation:
- I’m hosting my own lemmy instance on.syrma.cc @ Hetzner VPS
- I’m trying to set up Wefwef for myself on app.syrma.cc
- I intend to lock Wefwef down so that only my instance can be accessed with it
Would someone be so kind and provide a step-by-step guide on how to achieve this? I don’t have a lot of experience with selfhosting, but I’m able to use Google like a pro! I would only need some specific instructions for Wefwef itself, anything else I can google/trial & error myself.
I assume it goes like this:
- Clone repo
- Change configs
- Build and start docker
- Use letsencrypt for a cert and add it to nginx’s config
- Point A record app.syrma.cc to MYIP/wefwef
And then I go through 1-3 for any updates?
Thanks in advance, your help is appreciated!
I’m using the pre-built Docker image (ghcr.io/aeharding/wefwef:latest). I’m using CloudFlare Access to control access to the app and make it accessible outside my network.
I can’t write up the step-by-step instructions at the moment, but there are literally two commands to run to get the Docker container up and running (see the project’s GitHub page for more info). For the CloudFlare side of things, there are a ton of helpful videos out there that walk through the process in detail.
Thanks for this link!
Are there any benefits to self hosting the app?
Skip 1+2, use the prebuilt image? See here: https://github.com/aeharding/wefwef#prebuilt
This is what the link points to:
- pull image docker pull ghcr.io/aeharding/wefwef:latest
- start container: docker run --rm -it -p 5314:5314 wefwef
Note: The provided Dockerfile creates a container which will eventually run wefwef as non-root user.