Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salif/lemmy-onion-service
Self-hosted Lemmy using the Tor network
https://github.com/salif/lemmy-onion-service
hacktoberfest lemmy lemmy-instance lemmy-server onion onion-forum onion-service onion-sites tor-hidden-service tor-hidden-services tor-onion-service
Last synced: 13 days ago
JSON representation
Self-hosted Lemmy using the Tor network
- Host: GitHub
- URL: https://github.com/salif/lemmy-onion-service
- Owner: salif
- Created: 2023-07-01T13:16:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:17:41.000Z (11 months ago)
- Last Synced: 2023-12-15T18:29:13.749Z (11 months ago)
- Topics: hacktoberfest, lemmy, lemmy-instance, lemmy-server, onion, onion-forum, onion-service, onion-sites, tor-hidden-service, tor-hidden-services, tor-onion-service
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lemmy Onion Service
### What is Lemmy?
Lemmy is a self-hosted social link aggregation and discussion platform.
I made this git repo for personal use for testing purposes.
## New Lemmy instance
Follow these instructions to start a new Lemmy instance using Linux and Docker.
Note that federation is not supported and there's no email server.
Clone the repo
```bash
git clone https://github.com/salif/lemmy-onion-service.git
cd ./lemmy-onion-service/
```Use [mkp224o](https://community.torproject.org/onion-services/advanced/vanity-addresses/) to generate vanity address. Then run:
```bash
# mkp224o
mkdir -p ./volumes/lemmytor/
```change 'example.onion' to generated address
```bash
cp example.onion/* ./volumes/lemmytor/
``````bash
sudo chown -R 100:100 ./volumes/lemmytor
sudo chmod -R u+rwX,og-rwx ./volumes/lemmytor
mkdir volumes/pictrs
sudo chown -R 991:991 ./volumes/pictrs
```and
```bash
cp ./templates/.env .env
```Edit `.env` file \(domain is in `volumes/lemmytor/hostname`\) and run:
```bash
cp ./templates/nginx_internal.conf nginx_internal.conf
cp ./templates/lemmy.hjson lemmy.hjson
source .env
sed -i -e "s/_SED_1/$domain/g" lemmy.hjson
sed -i -e "s/_SED_2/$postgres_password/g" lemmy.hjson
sed -i -e "s/_SED_1/$domain/g" nginx_internal.conf
```Start it:
```bash
sudo docker-compose up -d
```## See also
- [join-lemmy.org/docs/administration/install_docker.html](https://join-lemmy.org/docs/administration/install_docker.html)
- [join-lemmy.org/docs/administration/tor_hidden_service.html](https://join-lemmy.org/docs/administration/tor_hidden_service.html)