Skip to content

Commit

Permalink
docker-compose: Improve rabbitmq config
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Apr 29, 2024
1 parent 69beb91 commit 5aed23a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- default
environment:
RABBITMQ_NODENAME: rabbit@rabbitmq
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbitmq_stream advertised_host rabbitmq"
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbitmq_stream advertised_host localhost"
entrypoint: bash -c
command: |
'set -ex
Expand All @@ -22,6 +22,7 @@ services:
loopback_users = none
EOF
rabbitmq-plugins enable --offline rabbitmq_stream
rabbitmq-plugins enable --offline rabbitmq_stream_management
bash <<EOF &
until rabbitmqadmin --vhost=livepeer declare exchange name=lp_golivepeer_metadata type=topic && \
rabbitmqadmin --vhost=livepeer declare exchange name=webhook_default_exchange type=topic && \
Expand Down

0 comments on commit 5aed23a

Please sign in to comment.