deleted: serv_certbot/.env
deleted: serv_certbot/docker-compose.yml modified: serv_nginx/.env renamed: serv_certbot/certbot/Dockerfile -> serv_nginx/certbot/Dockerfile renamed: serv_certbot/certbot/config/certbot.ini -> serv_nginx/certbot/config/certbot.ini renamed: serv_certbot/certbot/scripts/checkRenewCerts.sh -> serv_nginx/certbot/scripts/checkRenewCerts.sh renamed: serv_certbot/certbot/scripts/crontab.txt -> serv_nginx/certbot/scripts/crontab.txt renamed: serv_certbot/certbot/scripts/init-certbot.sh -> serv_nginx/certbot/scripts/init-certbot.sh renamed: serv_certbot/certbot/scripts/renewEasysite102.sh -> serv_nginx/certbot/scripts/renewEasysite102.sh renamed: serv_certbot/certbot/scripts/renewValitovGazizCert.sh -> serv_nginx/certbot/scripts/renewValitovGazizCert.sh renamed: serv_certbot/certbot/scripts/renewYalarbaCert.sh -> serv_nginx/certbot/scripts/renewYalarbaCert.sh modified: serv_nginx/docker-compose.yml merge certbot and nginx services
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
FROM certbot/certbot
|
||||
|
||||
# устанавливать cron отдельно не нужно он уже есть в этом image certbot/certbot
|
||||
|
||||
# Создаем директории для конфигов
|
||||
RUN mkdir -p /etc/letsencrypt/config
|
||||
|
||||
# Копируем конфигурационные файлы
|
||||
COPY scripts/ /opt/
|
||||
|
||||
# Устанавливаем права
|
||||
<<<<<<< HEAD:certbot/Dockerfile
|
||||
RUN chmod +x /opt/*
|
||||
=======
|
||||
RUN chmod +x /opt/init-certbot.sh
|
||||
RUN chmod +x /opt/checkRenewCerts.sh
|
||||
RUN chmod +x /opt/renewEasysite102.sh
|
||||
RUN chmod +x /opt/renewValitovGazizCert.sh
|
||||
RUN chmod +x /opt/renewYalarbaCert.sh
|
||||
|
||||
>>>>>>> divite_services:serv_certbot/certbot/Dockerfile
|
||||
|
||||
ENTRYPOINT ["/opt/init-certbot.sh"]
|
||||
Reference in New Issue
Block a user