What problem does it solve?

I have a few php based projects with or without a database.

As a newbie in docker I installed a rootless docker.

And to dockerfy exsiting projects quick and dirty. Sure copy & paste works, but if you have multiple configuration files where variables must match then variables are very helpful. So here is a stupid simple template generator.

The init script:

  • sets acl permisssions for container and local user
  • generates needed files for docker from configuration and a set of templates
  • handles php projects with or without database container
  • starts/ stops your container(s)
  • opens a console
  • starts php lint

What problems does it not solve?

It is a script for a dual container and Apache + PHP and (optional) Mariadb only for a local LAMP dev environment. Nothing else.