Merge pull request #1246 from bluewave-labs/feat/test-server-deployment

remove duplicate config, add certbot-compose.yaml
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-12-01 20:44:03 -08:00
commit 8e831bdb65
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
version: '3'
services:
webserver:
image: nginx:latest
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./nginx/conf.d/:/etc/nginx/conf.d/:ro
- ./certbot/www/:/var/www/certbot/:ro
certbot:
image: certbot/certbot:latest
volumes:
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/conf/:/etc/letsencrypt/:rw
depends_on:
- webserver