# Basic rules

* All files in the `docker/templates/` directory will be processed.
* in the first line must be a line `# TARGET: [name of target file]` to define the target file. If this line does not exist, then the file will be skipped.
* Placeholdrs have the syntax variable in double brackets, i.e. `{{VARNAME}}`
* variables to be replaced are those in docker/init.sh.cfg and `{{genrator}}`

# Templates

## docker-compose.yml

Main configuration for docker conposer.

## dot_env

The template for `.env` of docker composer.

## web-server-Dockerfile

Docker container file for Apache httpd and PHP.
It uses the oficial PHP docker images by default.

## vhost_app.conf

Apache vhost configuration for your app.
Setup modules and the vhost including rewrites , ...

## extra-php-config.ini

Custom PHP config file for you additional settings.

## my.cnf

If you use a Mariadb a 2nd container will be initialized using this my.cnf.