view the rest of the comments
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!
In the configuration of the docker proxxy, do I define my domain name (like lemmy.my-domain.tld) or will I define some local IP (like 172.20.0.1) and let nginx proxy manager point to that?
You can use the FQDN of your Lemmy instance in the
nginx.conf
file. I've uploaded my files to a gist here as an example.You should be able just to replace any mention of
lemmy.mydomain.com
with your FQDN of your Lemmy instance and replace anyyour-postgres-password
with your real Postgres password. You must also set your SMTP provider settings in theemail
section ofconfig.hjson
(I use Brevo). In thedocker-compose.yml
file, you can change which port you want to map from the host; I used8976
in mine. Then just point your internet-facing reverse proxy to the host and whichever port you chose.I'm not using Ansible to automate it at all. I'm just updating the files manually, as needed, and doing
docker compose
commands. I'm using Docker volumes to persist the data on them, so feel free to change any of those basic things you want.