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:
- selfh.st Newsletter and index of selfhosted software and apps
- 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!
view the rest of the comments
Someone asked in a matrix chat ages ago. And I ran it through gpt4 for them. No idea if it worked. Here’s the output.
Would be interested to see what happens. I don’t use unraid.
Unraid Docker Installation Guide for Lemmy
1. Ensure Docker is installed and running on your Unraid server. If not, go to the Unraid web UI, navigate to the 'Settings' tab, select 'Docker', and set 'Enable Docker' to 'Yes'.
2. SSH into your Unraid server with a command like ssh root@.
3. Create a new folder for Lemmy files. The location isn't important; you can put it anywhere you want. For example: mkdir /mnt/user/appdata/lemmy cd /mnt/user/appdata/lemmy
4. Download the default config files: wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/docker-compose.yml wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/lemmy.hjson
5. Set the correct permissions for the 'pictrs' folder: mkdir -p volumes/pictrs chown -R 991:991 volumes/pictrs Note: Change the database password in the 'docker-compose.yml' file before your first run if you'd like a different one.
6. Edit the 'lemmy.hjson' file, especially the hostname and possibly the db password: nano lemmy.hjson Make necessary adjustments and save the file.
7. Go to the 'Docker' tab in the Unraid web UI. Click 'Add Container', put 'dessalines/lemmy' in the 'Repository' field. In the 'Config Type' field, select 'Path', then set 'Container Path' to '/lemmy' and 'Host Path' to '/mnt/user/appdata/lemmy'.
8. Click 'Apply' in Unraid to create the Docker container. Unraid will pull down the Docker image and set it up.
9. You can now access the Lemmy UI at http://:80.
10. To make Lemmy available outside the server, set up a reverse proxy. In the Unraid ecosystem, this is typically done using a Docker container such as Nginx Proxy Manager or SWAG.
11. Secure your Lemmy server with TLS, for example with Let's Encrypt, using your chosen reverse proxy tool.
Updating Lemmy:
1. To update Lemmy, go to the 'Docker' tab in Unraid, find the 'Lemmy' Docker container, and click 'Check for Updates'. If an update is available, simply click 'update' and Unraid will pull down the new Docker image and update your container.
2. Alternatively, you can manually fetch the latest version from the git repo: wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/docker-compose.yml docker-compose up -d Note: This guide assumes you're familiar with the basics of using Unraid, such as accessing the web UI, using the terminal, and setting up Docker containers."
These instructions won't work in anyone's unraid box, even if they compile compose from source. Not sure why people think posting random chatGPT'd instructions is remotely useful.
Like I said. Someone in a chat asked me to do it. Was just sharing it here. I don’t use unraid. Just interested if it has any success.
(Btw. Gpt4 is excellent for this kind of stuff. Have had multitudes of success, and learnt a heap along the way)
Strongly disagree about gpt being excellent for code, it's extremely confident about the wrong answer most of the time. I've found it to be mildly useful as a Stack Overflow alternative (for asking general questions and having it point me in some direction) but it's code outputs are garbage.
Gtp3. Yes. Gpt4. No.
Coding. Excellent.
Troubleshooting, error finding, even better.
I've had access to 4 for several weeks and it's not really much better. Maybe I'm just asking too much of it though.
Generally it will be the user input that causes errors. Like you’re asking the questions the wrong way.
If you start with trying to debug code, you’ll learn how to utilise it very quickly. It’s an extremely powerful tool.
Feed it the code. Tell it the behaviour. Tell it the expected behaviour.
Get it will find the error immediately. For things that would have taken me days to work out previously.