removed certbot because it is not a viable solution to ssl certs

This commit is contained in:
Aaro Koivukangas
2023-12-04 13:41:45 +02:00
parent 8fc2e2bd3d
commit 267c7ec909
2 changed files with 2 additions and 20 deletions
-5
View File
@@ -1,5 +0,0 @@
FROM certbot/certbot AS builder
RUN apk add nginx
RUN pip3 install pip --upgrade
RUN pip3 install certbot-nginx
+2 -15
View File
@@ -97,27 +97,14 @@ services:
ports:
- 80:80
- 443:443
depends_on:
- certbot
volumes:
- ./nginx/conf:/etc/nginx
- ./data/letsencrypt:/etc/letsencrypt/:rw
- certbot-var:/var/lib/letsencrypt
#- web-root:/var/www/html
certbot:
build:
context: certbot
command: "certonly --nginx --email aaro.koivukangas@gmail.com --non-interactive --agree-tos -d pumppi.dev -d brewery.pumppi.dev -d cal.pumppi.dev -d git.pumppi.dev -d reaktor.pumppi.dev -d tsoha.pumppi.dev -d www.pumppi.dev"
volumes:
- ./data/letsencrypt:/etc/letsencrypt
- certbot-var:/var/lib/letsencrypt
- ./nginx/conf:/etc/nginx:rw
#- web-root:/var/www/html
#depends_on:
#- webserver
#command: certonly --webroot --webroot-path=/var/www/html --email aaro.koivukangas@gmail.com --agree-tos --no-eff-email --staging -d your_domain -d www.your_domain
#command: "certonly --nginx --email aaro.koivukangas@gmail.com --non-interactive --agree-tos -d pumppi.dev -d brewery.pumppi.dev -d cal.pumppi.dev -d git.pumppi.dev -d reaktor.pumppi.dev -d tsoha.pumppi.dev -d www.pumppi.dev"
volumes:
certbot-etc:
#certbot-etc:
certbot-var: