this post was submitted on 30 Jun 2023
16 points (100.0% liked)

wefwef

4216 readers
1 users here now

wefwef is now Voyager! Subscribe to [email protected].

founded 1 year ago
MODERATORS
 

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:

  1. Clone repo
  2. Change configs
  3. Build and start docker
  4. Use letsencrypt for a cert and add it to nginx's config
  5. 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!

top 4 comments
sorted by: hot top controversial new old
[–] aseriesoftubes 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 3 points 1 year ago

Thanks for this link!

[–] RuckusTraveler 2 points 1 year ago

Are there any benefits to self hosting the app?

[–] PlutoniumAcid 1 points 1 year ago

Skip 1+2, use the prebuilt image? See here: https://github.com/aeharding/wefwef#prebuilt

This is what the link points to:

  1. pull image docker pull ghcr.io/aeharding/wefwef:latest
  2. 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.