Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 921 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 921 Bytes

Deploy

Make .env file from .env.example and fill in the values.

cp .env.example .env

Edit config.yml and le-config.yml to match your domain and DNS auth info.

Then, start the Let's Encrypt container to get the certificates:

docker compose up -d

Then, create a symlink that points to your domain's Let's Encrypt certificates like:

ln -s /etc/letsencrypt/live/<your domain>/fullchain.pem ssl/<your domain>.crt
ln -s /etc/letsencrypt/live/<your domain>/privkey.pem ssl/<your domain>.key

Careful: the symlinks need to point to /etc/letsencrypt, not a relative path. The symlinks will not resolve on the host filesystem, but they will resolve inside the sish container because it mounts the letsencrypt files in /etc/letsencrypt, not ./letsencrypt.

Finally, you can restart the sish container:

docker compose restart