mirror of
https://github.com/iritmaximus/self-host.git
synced 2026-10-12 19:23:31 +03:00
removed certbot because it is not a viable solution to ssl certs
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user