Docker fixes #1806
In docker-compose, using a symlink from ./Dockerfile to contrib/docker/Dockerfile.apache does not work. Therefore the symlink is deleted and the docker-compose.yml is instructed to use the file Dockerfile.apache in contrib by default.
This commit changes the default auth plugin of mysql to mysql_native_password, because otherwise the laravel app couldn't connect to the mysql database. The following error was thrown: `SQLSTATE[HY000]  The server requested authentication method unknown to the client`
This commit installs mysqldump via the package mariadb-client to make use of `php artisan backup:run`. Without that package the command fails with the following error: ``` $ docker-compose exec app php artisan backup:run Starting backup... Dumping database pixelfed... Backup failed because The dump process failed with exitcode 127 : Command not found : sh: 1: mysqldump: not found ```
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.