Skip to content

Commit

Permalink
[scripts] Update env variables for Rabbitmq (#3785)
Browse files Browse the repository at this point in the history
This PR makes the following changes:

## Bug Fixes
- Fixes environment variables for Rabbitmq service that prevents a
health check from completing

## Chores
- Updates **@terascope/scripts** from `v1.3.1` to `v1.3.2`
  • Loading branch information
sotojn authored Oct 3, 2024
1 parent 88828aa commit 40940eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/scripts",
"displayName": "Scripts",
"version": "1.3.1",
"version": "1.3.2",
"description": "A collection of terascope monorepo scripts",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/scripts#readme",
"bugs": {
Expand Down
3 changes: 2 additions & 1 deletion packages/scripts/src/helpers/test-runner/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ const services: Readonly<Record<Service, Readonly<DockerRunOptions>>> = {
mount: [`type=bind,source=${rabbitConfigPath},target=/etc/rabbitmq/rabbitmq.conf`],
env: {
RABBITMQ_HOSTNAME: '0.0.0.0',
RABBITMQ_USER: config.RABBITMQ_USER,
RABBITMQ_MANAGEMENT_ALLOW_WEB_ACCESS: 'true',
RABBITMQ_USERNAME: config.RABBITMQ_USER,
RABBITMQ_PASSWORD: config.RABBITMQ_PASSWORD,
},
network: config.DOCKER_NETWORK_NAME,
Expand Down

0 comments on commit 40940eb

Please sign in to comment.