Joomla website is running in Docker environment.
- PHP 8.3.1
- Joomla 5
- Nginx
- Maria DB 11.2
- Adminer
- Copy joomla app in
joomla
folder. - Edit
docker/nginx.conf
file: replace example.org domain - Copy
.env.example
to.env
, edit docker compose up -d
Docker-compose already has certbot container you can use, just execute:
docker compose run --rm certbot renew
crontab -e
Add this line, it will run certbot renew every second month:
0 0 1 */2 * docker compose run --rm certbot renew