some docker compose files for privacy services and a guide on how to use them
Go to file
2024-12-16 11:41:26 +00:00
librey Add librey/compose.yml 2024-12-13 00:09:41 +00:00
mozhi Add mozhi/compose.yml 2024-12-12 23:59:27 +00:00
redlib Add redlib/.env 2024-12-15 21:39:07 +00:00
safetwitch Add safetwitch/compose.yml 2024-12-13 00:14:33 +00:00
send Add send/compose.yml 2024-12-12 23:57:23 +00:00
stirling-pdf Add stirling-pdf/compose.yml 2024-12-13 00:04:36 +00:00
README.md Update README.md 2024-12-16 11:41:26 +00:00

On Github or somewhere else? This is mirrored from: https://gitz.blitzw.in/nune/docker-compose-files/

How to use

You need to install docker-compose. Also Caddy if you need a reverse proxy. Generally with these, you'll make a folder for the service you wanna host, make a file called compose.yml, copy the contents in, modify accordingly, and docker compose up -d these up.

Things to keep in mind

The first four-five-digit number in ports is the port for your machine, the second after the : is the port for the container. Don't change the second number unless there's a configuration setting that allows you to modify like so. Use a server in your home properly configured, or a VPS. I personally recommend Webdock for a VPS. You don't need to do any steps to install dependencies for these services other than docker-compose, docker containers do that for you inside the container.

Basic reverse proxy

This will work fine for most things assuming the URL is configured in environment: section/config if needed. Install caddy with the following command after apt-get update and apt-get upgrade:

apt-get install caddy

Once installed, make a folder and make a file named Caddyfile. Write this in it with nano, and replace accordingly. The number can be replaced with the machine port (again, first number under ports section). Make sure the domain has a DNS record with the server IP.

example.com {
    reverse_proxy localhost:7825
}

Then type caddy reload or caddy start. Wait a bit, and your service should come up.