Closed Justuser3310 closed 8 months ago
Do you have ./app/db/mysql
directory available? There must be schema that is automatically created. This file must be in there: https://github.com/m1k1o/blog/tree/master/app/db/mysql
No, fixed it:
sudo chmod 777 app/db/mysql/
cd app/db/mysql/ && wget https://raw.githubusercontent.com/m1k1o/blog/master/app/db/mysql/01_schema.sql
Then... The same problem.
You need to remove the mariadb volume and start again so that it performs the initialization.
# this removes volumes
docker-compose down -v
It worked.
Duplicate of
https://github.com/m1k1o/blog/issues/28
Config: