Skip to content

Repository files navigation

Intial Setup:

  1. create the certbot container and make sure it can connect to port 80.
ports:
- "80:80"
  1. Go in the container: docker-compose exec certbot /bin/sh
  2. Create the cert: certbot certonly --standalone -d hippocooking.com -d www.hippocooking.com
  3. Remove the ports again
  4. From now on call: docker-compose run --rm certbot certonly --webroot --webroot-path=/var/www/certbot -d hippocooking.com -d www.hippocooking.com
  5. go in /hippocooking/nginx/ssl-dhparams and run: openssl dhparam -out dhparam.pem 2048

About

This is an example of wordpress with docker-compose

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages