Docker compose managed lemmy instance meant to be used behined reverse proxy
- Lemmy: dessalines/lemmy
- Lemmy-ui: dessalines/lemmy-ui
- Postgres: postgres
- NGINX: nginxinc/nginx-unprivilege
- Volume provisioner: hasnat/volumes-provisioner
- Docker
- docker-compose
- A reverse proxy
You will need to have a reverse proxy setup. I use a variant of jwilder/nginx-proxy. Traefik and Caddy2 are popular choices.
See administration/install_docker for Lemmy docs on setup and configuration.
- Copy samples/env to ./.env and set variables
- Copy samples/postgres.env.secrets and samples/pictrs.env.secrets to ./ and add the postgres and pictrs passwords respectively
- Copy samples/config.hjson and samples/postgresql.conf to config and change appropriately
- Do required setup for your pre-existing reverse proxy, see the labels in the docker-compose.yml for an example for traefik
- Run setup/init.sh
- Update image tags in your .env file
- docker-compose pull
- docker-compose down
- docker-compose up
- Github: lemmy
- Lemmy ansible playbook: docker-compose.yml
- Lemmy troubleshooting: administration/troubleshooting
- Postgres docker user: postgres#arbitrary user nodes