Skip to content

Commit

Permalink
Revert previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalaldo authored Dec 10, 2024
1 parent bb14003 commit b8ddd6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,17 @@ services:
restart: always # for the container to be up and running again even after the VM is brought down
volumes:
- ./static:/static # a folder, where the static content will be served from
- ./certbot/www/:/var/www/certbot/:ro # a mounted folder that links nginx with certbot
- ./certbot/conf/live/pankb.org/fullchain.pem:/etc/nginx/ssl/live/pankb.org/fullchain.pem # the SSL certificate
- ./certbot/conf/live/pankb.org/privkey.pem:/etc/nginx/ssl/live/pankb.org/privkey.pem # the SSL private key
ports:
- 80:80
- 443:443
networks:
- pankb-net

certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw

0 comments on commit b8ddd6c

Please sign in to comment.