[-] matt@lemmy.piperservers.net 2 points 10 months ago

I dual boot Linux on my gaming PC and remember having issues with games installed onto an NTFS partition. I don't remember if it was an issue with some specific software, such as Wine/Proton or Steam, just a general Linux issue (maybe symlinks?), or if I was trying to do something weird... Either way, I ended up needing to create a separate partition with a Linux filesystem for the games.

Last I checked, there isn't any easy way to get Linux filesystem drivers on Windows, and even then, I don't know if it would run games from there. So, if nothing else, you might end up needing storage space dedicated to installing games only for Linux.

[-] matt@lemmy.piperservers.net 1 points 1 year ago* (last edited 1 year ago)

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 any your-postgres-password with your real Postgres password. You must also set your SMTP provider settings in the email section of config.hjson (I use Brevo). In the docker-compose.yml file, you can change which port you want to map from the host; I used 8976 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.

[-] matt@lemmy.piperservers.net 2 points 1 year ago

Think of the NGINX proxy in Lemmy's docker-compose.yml file as the entry point to Lemmy from outside the Docker network. For instance, I don't have any ports mapped for the individual services except for the NGINX service. The NGINX proxy in this docker-compose file will access the other services through the internal docker network, so it isn't a problem if you set up your nginx.conf file with the service's names. With that done, you could map any port you want for the NGINX service from the host, then point your internet-facing reverse proxy to that.

I also plan on setting up a Mastodon server, but I haven't gotten to it yet. So I don't have anything specific to add other than it will work similarly by using docker's port mapping or service names depending on whether each service needs to be internet-facing or only communicate internally.

[-] matt@lemmy.piperservers.net 1 points 1 year ago

I agree with @terribleplan@lemmy.nrd.li that the inclusion of a postfix SMTP container and using that in the example configs is probably doing more harm than good.

You shouldn't need the Postfix container at all unless you want to manually set that up and know what you're doing. You configure your SMTP settings in the config.hjson file as outlined in the example defaults.hjson file. I'm using a third-party SMTP provider to avoid any deliverability issues with sending emails directly from my server's IP address. Just ensure you configured your DNS correctly (DKIM, etc.), punch in the info, and it should work.

view more: ‹ prev next ›

matt

joined 1 year ago