if i modify the docker-compose.yml file and re deploy it after invoice ninja has been deployed i get acces denied to the DB
[dockerfiles-app-1]
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'172.19.0.3' (usi
ng password: YES) (SQL: select * from information_schema.tables where table
_schema = ninja and table_name = accounts and table_type = 'BASE TABLE')
In Connector.php line 70:
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'172.19.0.3' (usi
ng password: YES)
2023-05-22T03:41:45Z [ERROR] [Entrypoint]: Error connecting to DB
[dockerfiles-db-1]
[System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.33' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
if i modify the docker-compose.yml file and re deploy it after invoice ninja has been deployed i get acces denied to the DB
[dockerfiles-app-1] SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'172.19.0.3' (usi
ng password: YES) (SQL: select * from information_schema.tables where table
_schema = ninja and table_name = accounts and table_type = 'BASE TABLE')
In Connector.php line 70:
SQLSTATE[HY000] [1045] Access denied for user 'ninja'@'172.19.0.3' (usi
ng password: YES)
2023-05-22T03:41:45Z [ERROR] [Entrypoint]: Error connecting to DB
[dockerfiles-db-1] [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.33' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
[dockerfiles-server-1] 2023/05/22 03:48:55 [notice] 1#1: OS: Linux 5.15.0-72-generic 2023/05/22 03:48:55 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2023/05/22 03:48:55 [notice] 1#1: start worker processes 2023/05/22 03:48:55 [notice] 1#1: start worker process 22 2023/05/22 03:48:55 [notice] 1#1: start worker process 23
if i delete everything and do a new deployment it works just fine. any ideas would be great.
thanks