Skip to content

Commit

Permalink
Merge pull request #23 from SELab-2/feature/docker
Browse files Browse the repository at this point in the history
adding certbot support to docker
  • Loading branch information
AWerbrouck authored Feb 26, 2024
2 parents 26061e5 + 2df62b0 commit 999b6ec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ services:
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./nginx/conf/:/etc/nginx/conf.d/:ro
- ./certbot/www/:/var/www/certbot/:ro
backend:
container_name: spring_container
build: backend/app/
Expand Down Expand Up @@ -37,7 +41,11 @@ services:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: root
restart: unless-stopped

certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw
volumes:
postgres-data:
secrets:
Expand Down

0 comments on commit 999b6ec

Please sign in to comment.