A template repository with docker based light environment for production server, based on stable versions of containers, with minimal critical configurations made only.
The goal is to make deployment of the software built on Development base as easy as possible, but also having more secure enviroment.
- Apache 2.4 (based on original httpd:2.4-alpine container)
- with https turned on (exchange the certificates in
containers/httpd/certs
folder to real ones)
- with https turned on (exchange the certificates in
- PHP 8.3 (based on original php:x.x-fpm containers) with:
- composer 2
- MySQL 8.0 (8.0-debian container) as default
- Docker (https://docs.docker.com/get-docker/)
- Docker compose (https://docs.docker.com/compose/install/)
- Clone the repository
- Run
make setup
command which creates .env file with default values - Check the
.env
file and adjust the values if needed - Run
make addbasicservices
to build the docker-compose.yml file from parts - Run
make up
to start the containers - Your
source
folder will be available as website root
You like to contribute? 🙌 AWESOME 🙌 Throw a pull request, with the description why you/we need it and instructions how to test it out :)