Open rm-yakovenko opened 2 years ago
Hi @rm-yakovenko . Sorry not sure i understand how that fixes it?
Hi @Bottelet!
The issue is in the default docker-compose configuration.
The db
container cannot start because of the following error:
➜ DaybydayCRM git:(master) docker-compose up db
Creating dbMain ... done
Attaching to dbMain
dbMain | 2022-01-28 09:10:06+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.37-1debian10 started.
dbMain | 2022-01-28 09:10:06+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
dbMain | 2022-01-28 09:10:06+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.37-1debian10 started.
dbMain | 2022-01-28 09:10:06+00:00 [ERROR] [Entrypoint]: MYSQL_USER="root", MYSQL_USER and MYSQL_PASSWORD are for configuring a regular user and cannot be used for the root user
dbMain | Remove MYSQL_USER="root" and use one of the following to control the root user password:
dbMain | - MYSQL_ROOT_PASSWORD
dbMain | - MYSQL_ALLOW_EMPTY_PASSWORD
dbMain | - MYSQL_RANDOM_ROOT_PASSWORD
That leads to https://github.com/Bottelet/DaybydayCRM/issues/284#issuecomment-1010579677
Fix docker db error
This should solve #284