From ae3745f4af821330e5a12c26c75afb8e5640162b Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Wed, 17 Jul 2024 12:59:15 +0200 Subject: [PATCH] Docker Compose to include certbot --- docker-compose.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4dd80505..7e78e687 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,16 +59,16 @@ services: depends_on: - api - # certbot: - # image: certbot/certbot - # container_name: certbot - # volumes: - # - certbotConf:/etc/letsencrypt - # - certbotChall:/var/www/certbot - # #command: certonly --test-cert --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d mzansi-innovation-hub.co.za -d www.mzansi-innovation-hub.co.za --agree-tos - # command: certonly --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d mzansi-innovation-hub.co.za -d www.mzansi-innovation-hub.co.za --agree-tos - # depends_on: - # - nginx + certbot: + image: certbot/certbot + container_name: certbot + volumes: + - certbotConf:/etc/letsencrypt + - certbotChall:/var/www/certbot + #command: certonly --test-cert --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d mzansi-innovation-hub.co.za -d www.mzansi-innovation-hub.co.za --agree-tos + command: certonly --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d mzansi-innovation-hub.co.za -d www.mzansi-innovation-hub.co.za --agree-tos + depends_on: + - nginx minio: container_name: MIH-Minio