mirror of
https://github.com/driftywinds/driftywinds.git
synced 2025-12-18 18:23:16 +00:00
Create tls.sh
This commit is contained in:
11
docker-compose-files/ergo/tls.sh
Normal file
11
docker-compose-files/ergo/tls.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
cd /path/to/ergo
|
||||
docker compose down
|
||||
sudo rm /path/to/ergo/data/fullchain.pem
|
||||
sudo rm /path/to/ergo/data/privkey.pem
|
||||
sudo cp /etc/letsencrypt/live/irc.example.com/fullchain.pem /path/to/ergo/data
|
||||
sudo cp /etc/letsencrypt/live/irc.example.com/privkey.pem /path/to/ergo/data
|
||||
cd /path/to/ergo
|
||||
docker compose up -d
|
||||
# curl -m 10 --retry 5 https://hc-ping.com/
|
||||
# the above is for healthchecks.io monitoring
|
||||
# set this in cron like this 24 1 17 2,5,8,11 * sudo bash /path/to/tls.sh
|
||||
Reference in New Issue
Block a user