diff --git a/docker-compose.yml b/docker-compose.yml index 7925a8c..2b1697d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,8 @@ services: restart: unless-stopped volumes: - ./data/nginx-terminate/nginx.conf:/etc/nginx/nginx.conf:Z - - ./data/certbot/conf:/etc/letsencrypt:Z - - ./data/certbot/www:/var/www/certbot:Z + - ./data/certbot/conf:/etc/letsencrypt:z + - ./data/certbot/www:/var/www/certbot:z ports: - "443:443" - "80:80" @@ -36,8 +36,8 @@ services: image: certbot/certbot restart: unless-stopped volumes: - - ./data/certbot/conf:/etc/letsencrypt:Z - - ./data/certbot/www:/var/www/certbot:Z + - ./data/certbot/conf:/etc/letsencrypt:z + - ./data/certbot/www:/var/www/certbot:z entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'" security_opt: - no-new-privileges:true