This project stands as basic docker lamp that fit my needs. Its purpose is to be production ready (for small projects)
It's shipped with
- Php8.1 / Apache
- Mysql8
- Redis
- Node
It also comes with a Makefile, and a set of useful commands (list available by running make help)
- You can run make init
Or
- Create .envfrom.env.examplefile
- Create the default vhost in config/vhosts/default.conf(you can use the template intemplates/vhosts/default.conf)
You'll have then to configure you first vhost before running the certification
- You can run make up(Linux / Mac OS)
Or
- Run docker-compose up -d
- Add your virtual hosts rules in config/vhosts/default.conf. You just need to define your non ssl rules.- The certification script will create a default-le-ssl.conffile based on the domains defined in thedefault.conffile
- You can change the base file in your .envby changing the value forCERTIFY_BASE_VIRTUAL_HOST
 
- The certification script will create a 
- Run make certs