├── OgCXa7e-mO0 ├── cron │ ├── renew_cron │ └── sert_renew.sh ├── .env ├── README.md ├── nginx-conf.d │ ├── options-ssl-nginx.conf │ ├── test.world-itech.ru.conf │ └── north.world-ithech.ru.conf └── docker-compose.yaml ├── mKdwkV5p1xg ├── .env ├── README.md ├── nginx-conf.d │ └── north.world-ithech.ru.conf └── docker-compose.yaml ├── kfQEPxigNY4 ├── SwordInquisition.service ├── SwordInquisition.timer └── README.md └── README.md /OgCXa7e-mO0/cron/renew_cron: -------------------------------------------------------------------------------- 1 | 0 0 * * * /root/wordpress/cron/sert_renew.sh >> /var/log/cron.log 2>&1 2 | -------------------------------------------------------------------------------- /OgCXa7e-mO0/.env: -------------------------------------------------------------------------------- 1 | MYSQL_ROOT_PASSWORD=Be$t)P@s$w0rdR00T-u$eR 2 | MYSQL_USER=wp_db_user 3 | MYSQL_PASSWORD=W0rdpres$%d@taBa$e%paS$worD 4 | MYSQL_DATABASE=wp_db 5 | -------------------------------------------------------------------------------- /mKdwkV5p1xg/.env: -------------------------------------------------------------------------------- 1 | MYSQL_ROOT_PASSWORD=Be$t)P@s$w0rdR00T-u$eR 2 | MYSQL_USER=wp_db_user 3 | MYSQL_PASSWORD=W0rdpres$%d@taBa$e%paS$worD 4 | MYSQL_DATABASE=wp_db 5 | -------------------------------------------------------------------------------- /mKdwkV5p1xg/README.md: -------------------------------------------------------------------------------- 1 | # Конфиг файлы с видео [Web-сервер для ленивых](https://youtu.be/mKdwkV5p1xg) 2 | В видео настраивается связка Docker-compose, nginx, mysql, php-fpm, wordpress -------------------------------------------------------------------------------- /OgCXa7e-mO0/README.md: -------------------------------------------------------------------------------- 1 | # Конфиг файлы с видео [HTTPS для ленивых](https://youtu.be/OgCXa7e-mO0) 2 | В видео настраивается связка Docker-compose, nginx, mysql, php-fpm, wordpress, cerbot 3 | -------------------------------------------------------------------------------- /OgCXa7e-mO0/cron/sert_renew.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | COMPOSE="/usr/local/bin/docker-compose --no-ansi" 4 | 5 | cd /root/https/ 6 | $COMPOSE run certbot renew --dry-run && \ 7 | $COMPOSE kill -s SIGHUP nginx 8 | -------------------------------------------------------------------------------- /kfQEPxigNY4/SwordInquisition.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Sword of the Inquisition. 3 | Wants=SwordInquisition.timer 4 | 5 | [Service] 6 | Type=oneshot 7 | ExecStart=/usr/bin/df 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /kfQEPxigNY4/SwordInquisition.timer: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Sword of the Inquisition. 3 | Requires=SwordInquisition.service 4 | 5 | [Timer] 6 | Unit=SwordInquisition.service 7 | OnCalendar=*-*-* 09:50:00 8 | 9 | [Install] 10 | WantedBy=timers.target 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Материалы для видео с канала [Мир IT c Антоном Павленко](https://www.youtube.com/c/pavlenkoat/) 2 | 3 | ## Навигация 4 | 5 | Имя каждого подкаталога — это идентификатор видео на YouTube: `https://www.youtube.com/watch?v=