I am trying to configure OpenEats to work with my existing docker containers.
I therefore created my own docker-compose.yml in which I consolidated the parameters from the various compose files. Starting the containers for the first time or more than ~1 hour after reproducing this issue works without problems.
The issue arises when I try to recreate the containers after stopping and removing them together with their volumes. The API can't connect to the database:
django.db.utils.OperationalError: (2003, 'Can\'t connect to MySQL server on \'db\' (111 "Connection refused")')
This issue only occurs on my server running Debian stretch and Docker version 19.03.2, build 6a30dfca03. I was unsuccessful in reproducing this behaviour on my PC running Ubuntu 19.04 and Docker version 18.09.7, build 2d0083d.
I am trying to configure OpenEats to work with my existing docker containers. I therefore created my own docker-compose.yml in which I consolidated the parameters from the various compose files. Starting the containers for the first time or more than ~1 hour after reproducing this issue works without problems.
The issue arises when I try to recreate the containers after stopping and removing them together with their volumes. The API can't connect to the database:
django.db.utils.OperationalError: (2003, 'Can\'t connect to MySQL server on \'db\' (111 "Connection refused")')
This issue only occurs on my server running Debian stretch and Docker version 19.03.2, build 6a30dfca03. I was unsuccessful in reproducing this behaviour on my PC running Ubuntu 19.04 and Docker version 18.09.7, build 2d0083d.My docker-compose.yml: