summaryrefslogtreecommitdiffstats
path: root/docker/filebin_starter.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-09-20docker: Always regenerated config files on container startupFlorian Pritz1-15/+10
We should really regenerate the configs, run migrations and hooks during each container startup. Otherwise you really can't update anything at all. The only thing that we do not do multiple times is adding the admin user, but the add_user method already checks for that and simply displayed an error. Hiding that error is probably not worth the effort so we just add a quick explanatory comment before the potential error. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-09-20docker: Fix database error during initial migrationFlorian Pritz1-1/+1
The following error was shown during initial startup of the container and the database was obviously not initialized because of this. I'm not sure why it happens, but setting the database name in the config (in addition to the name in the PDO connection string) fixes the problem. > Database error: A Database Error Occurred > > Error Number: 42000/1102 > Incorrect database name '' > SHOW TABLES FROM `` > Filename: libraries/Migration.php > Line Number: 167 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-08-29Use msmtp to send mail in docker containerSebastian Rakel1-0/+18
To send mails in the docker container we need to configure php to use a smtp client and provide smtp credentials to the docker container
2018-08-19Update docker setupFlorian Pritz1-6/+34
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10docker: Wait for database to reachable before doing anythingFlorian Pritz1-0/+7
This is necessary for future use of docker-compose Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-26Add Dockerfile and scripts to create and run a docker containerSebastian Rakel1-0/+35