We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f3412c commit cb84509Copy full SHA for cb84509
1 file changed
deploy/deploy.sh
@@ -192,8 +192,7 @@ cmd_setup() {
192
193
# SSL
194
header "SSL Certificates"
195
- if docker run --rm -v "${COMPOSE_PROJECT}_certbot-certs:/certs" alpine \
196
- test -f "/certs/live/${DOMAIN}/fullchain.pem" 2>/dev/null; then
+ if compose_with_ssl run --rm --entrypoint "test -f /etc/letsencrypt/live/${DOMAIN}/fullchain.pem" certbot 2>/dev/null; then
197
info "SSL certificate already exists. Skipping."
198
else
199
warn "Provisioning SSL certificates..."
0 commit comments