Hello,
i use your normal docker-compose file and setup .env. Containers are created but i get in mayandms container:
mayan: starting entrypoint.sh
mayan: update_uid_gid()
usermod: no changes
mayan: os_package_installs()
mayan: pip_installs()
mayan: initial_setup()
Failed to connect to the Celery broker at amqp://user:**@172.18.0.4:5672//; timed out
On Host System i use a python script to test rabbitmq connection:
import pika
URL = ‘amqp://user:password@172.18.0.4:5672/’
parameters = pika.URLParameters(URL)
connection = pika.BlockingConnection(parameters)
connection.is_open
This work. When i insert wrong ip or credentials then i get a error.
In docker-compose.yaml i change your standard connection string to:
MAYAN_CELERY_BROKER_URL: amqp://user:password@172.18.0.4:5672/
After rebuild container i get same error that you script can’t get connection.
What’s wrong here when PIKA and curl both works?