Actual behaviour
To do a clear app install in docker container you must
- Start database
- Start web server
- Do request that calls something like
http://web
It’s not very convenient if you run a public service.
To install database scheme in docker you have to
- Check manually that database is ok
- Execute command between two different containers
- Execute migrations
Expected behaviour
I want to be able to run ./cli db:install
to do auto install
I expect script to be like
- Wait for database
- Check if database is empty or available to do migration
- Enable maintenance mode
- Do auto install or migrate database
- Disable maintenance mode
This command is expected to run while web server is not running.