chsasank / outline-wiki-docker-compose

Installation and docker compose to self host outline wiki: https://www.getoutline.com/
295 stars 77 forks source link

How to add Let'sEncrypt Certbot certificates in server? #29

Open mayurdhurpate opened 3 years ago

mayurdhurpate commented 3 years ago

When I try running sudo certbot --nginx -d wiki.example.com, it fails with following message: nginx: [error] invalid PID number "" in "/run/nginx.pid"

How to add certificates for Dockerised Nginx?

mayurdhurpate commented 3 years ago

Or, will it be easier to setup Docker Compose for using Certbot?

mayurdhurpate commented 3 years ago

Check #30 where I tried connecting certbot container for easing certificate generation process.

mayurdhurpate commented 3 years ago

@chsasank Have now a fully working PR #30 which configures certbot container in docker-compose and make gen-https-certcommand which generates LetsEncrypt certificates and configures Nginx to use them.