Open evdoks opened 10 years ago
After deploying a RabbitMQ container, following environment variable are set for the dokku app:
root@host:~#dokku config pusher-dev === app config vars === API_KEY: 3BBmHukpC4Z5goOotNFgz1IaNJykjp2WSIfmCMLv7WI BROKER_ADMIN_PORT: ${BROKER_PORT_15672_TCP_PORT} BROKER_AMQP_PORT: ${BROKER_PORT_5672_TCP_PORT} BROKER_HOST: ${BROKER_PORT_5672_TCP_ADDR} BROKER_PASSWORD: cDEsedDVQdY0qoQC BROKER_PATH: // BROKER_SCHEME: amqp BROKER_URL: amqp://${BROKER_USERNAME}:${BROKER_PASSWORD}@${BROKER_PORT_5672_TCP_ADDR}:${BROKER_PORT_15672_TCP_PORT}// BROKER_USERNAME: admin
which seems to be alright. However, when starting an app container (dokku run app bash), the corresponding BROKER_URL environment variable does not contain the username:
dokku run app bash
BROKER_URL=amqp://:cDEsedDVQdY0qoQC@172.17.0.180:15672//
Am I missing something?
that's super weird, can you access the BROKER_USERNAME variable from your container via bash even if its not in the URL?
BROKER_USERNAME
I have the same issue. @AlJohri, yes BROKER_USERNAME is set.
After deploying a RabbitMQ container, following environment variable are set for the dokku app:
which seems to be alright. However, when starting an app container (
dokku run app bash
), the corresponding BROKER_URL environment variable does not contain the username:Am I missing something?