Skip to content

Commit

Permalink
update deployment docs with certbot command
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Jan 13, 2025
1 parent 639166c commit 03b8b9a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README_DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ sudo docker-compose logs

### Renew SSL certificate

Certbot attempts to auto-renew but this requires port 80, which is already taken by our web server.
To update the certificate manually:
To create or renew the SSL certificates using Certbot (this can be ran as a cron job):

```
sudo docker-compose down
sudo certbot renew
sudo docker-compose up -d
sudo docker run -it --rm -v/etc/letsencrypt:/etc/letsencrypt -v/var/www/certbot:/var/www/certbot certbot/certbot certonly --webroot --webroot-path /var/www/certbot/ -n -d circuitseq.iwr.uni-heidelberg.de
```

### Give users admin rights
Expand Down

0 comments on commit 03b8b9a

Please sign in to comment.