feat: [first attempt at using MySQLi in the docker dev env]

This commit is contained in:
David Bailey 2023-10-16 16:15:24 +02:00
parent 472ec10496
commit 1862ccbbb6
5 changed files with 21 additions and 2 deletions

View file

@ -11,9 +11,12 @@ services:
action: rebuild
- path: ../.
action: sync
target: /usr/local/apache2/htdocs/
target: /var/www/html
ignore:
- ../.git
mysql:
image: mysql:8.0-debian
build:
dockerfile: MysqlDockerfile
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password