docker
docker copied to clipboard
cannot connect to db container in docker swarm after deployment
Hello!
I was able to run odoo with postgres as two docker containers. But when I try to use swarm for deployment, I cannot connect to the db container in swarm mode. Both the db and the odoo service are running, but odoo cannot connect find the db. Have you ever tried it yourself?
I believe the container is deployed in a different machine and I am also figuring out this problem.
@odony another deleted user issue. Can you close this please.
for those wondering how to resolve the issue it is about reading https://docs.docker.com/engine/swarm/networking/#attach-a-service-to-an-overlay-network