diff --git a/docker-compose.yml b/docker-compose.yml index 0a26529..42918c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: - ./data/certbot/www:/var/www/certbot:Z ports: - "443:443" + - "80:80" security_opt: - no-new-privileges:true cap_drop: @@ -36,8 +37,6 @@ services: volumes: - ./data/certbot/conf:/etc/letsencrypt:Z - ./data/certbot/www:/var/www/certbot:Z - ports: - - "80:80" entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'" security_opt: - no-new-privileges:true