Configuring RabbitMQ Credentials
The RabbitMQ default credentials are defined in the infrastructure Docker descriptor. It allows connecting the application components and requires updating the password for each of them.
To Configure RabbitMQ 'admin' Credentials
-
Edit
deployment/docker/infra/docker-compose.ymland add/change theRABBITMQ_DEFAULT_PASSenvironment variable.rabbitmq: image: ${DOCKER_PULL_REGISTRY}/infra/rabbitmq:4.0.2-management container_name: gene-sample-rabbitmq environment: - RABBITMQ_DEFAULT_PASS # Not specifying a value allow to transmit environment variable to the container. -
Edit the
.envfile placed in thedocker-compose.ymlparent folder and add an environment variableRABBITMQ_DEFAULT_PASSwith the password you have chosen. Note that you can also add the environment variable to the host machine. -
Edit RabbitMQ password for Keycloak service in
deployment/docker/infra/docker-compose.yml.keycloak: ... environment: - RABBIT_USERNAME=guest - RABBIT_PASSWORD # Not specifying a value allow to transmit environment variable to the container. -
Edit the
.envfile placed in thedocker-compose.ymlparent folder and add an environment variableRABBIT_PASSWORDwith the password you have chosen. Note that you can also add the environment variable to the host machine. -
Edit RabbitMQ password for
dbos-masterservice indeployment/docker/dbos/docker-compose.yml.dbos-master: ... environment: - SPRING_RABBITMQ_USERNAME=guest - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. -
Edit the
.envfile placed in thedocker-compose.ymlparent folder and add an environment variableSPRING_RABBITMQ_PASSWORDwith the password you have chosen. Note that you can also add the environment variable to the host machine. -
Edit RabbitMQ password for the following services in
deployment/docker/app/docker-compose.yml.backend-service: ... environment: - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. data-service: ... environment: - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. execution-service: ... environment: - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. scenario-service: ... environment: - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. -
Edit the
.envfile placed in thedocker-compose.ymlparent folder and add an environment variableSPRING_RABBITMQ_PASSWORDwith the password you have chosen. Note that you can also add the environment variable to the host machine. -
Edit RabbitMQ password for the following services in
deployment/docker/app/docker-compose-workers.yml.checker-worker: ... environment: - SPRING_RABBITMQ_USERNAME=guest - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. engine-worker: ... environment: - SPRING_RABBITMQ_USERNAME=guest - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. python-engine-worker: ... environment: - SPRING_RABBITMQ_USERNAME=guest - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container. -
Edit RabbitMQ password for the
python-wml-workerservice indeployment/docker/app/docker-compose-wml-worker.yml.python-wml-worker: ... environment: - SPRING_RABBITMQ_USERNAME=guest - SPRING_RABBITMQ_PASSWORD # Not specifying a value allow to transmit environment variable to the container.