Add MariaDB container; add PDO connection; add error middleware

This commit is contained in:
Lexi / Zoe 2021-07-26 23:14:14 +02:00
parent 114a67dbe4
commit 2bb7ea54a2
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
6 changed files with 76 additions and 9 deletions

View file

@ -12,3 +12,18 @@ services:
volumes:
- ./:/var/www/
user: ${DOCKER_UID}
db:
image: mariadb
env_file:
- .env.develop
volumes:
- db_data:/var/lib/mysql
adminer:
image: adminer
ports:
- 8099:8080
volumes:
db_data: