Skip to content

Commit

Permalink
Refs #EventSource: update RABBITMQ_URL to RABBITMQ_URL_EVENT_SOURCE i…
Browse files Browse the repository at this point in the history
…n docker files
  • Loading branch information
saikumar9 committed Aug 17, 2021
1 parent 8f6491a commit e1058b7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ARG SECRET_KEY_BASE
ARG POLYPRESS_DB_HOST
ARG POLYPRESS_DB_PORT
ARG POLYPRESS_DB_NAME
ARG RABBITMQ_URL
ARG RABBITMQ_URL_EVENT_SOURCE
ARG RABBITMQ_HOST
ARG RABBITMQ_PORT
ARG RABBITMQ_VHOST
Expand All @@ -74,7 +74,7 @@ ARG MITC_URL
ENV POLYPRESS_DB_HOST=$POLYPRESS_DB_HOST
ENV POLYPRESS_DB_PORT=$POLYPRESS_DB_PORT
ENV POLYPRESS_DB_NAME=$POLYPRESS_DB_NAME
ENV RABBITMQ_URL=$RABBITMQ_URL
ENV RABBITMQ_URL_EVENT_SOURCE=$RABBITMQ_URL_EVENT_SOURCE
ENV RABBITMQ_HOST=$RABBITMQ_HOST
ENV RABBITMQ_PORT=$RABBITMQ_PORT
ENV RABBITMQ_VHOST=$RABBITMQ_VHOST
Expand Down
2 changes: 1 addition & 1 deletion .docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker build --build-arg BUNDLER_VERSION_OVERRIDE='2.2.10' \
--build-arg POLYPRESS_DB_NAME="polypress_production" \
--build-arg RABBITMQ_HOST="amqp://rabbitmq" \
--build-arg RABBITMQ_PORT="5672" \
--build-arg RABBITMQ_URL="amqp://rabbitmq:5672" \
--build-arg RABBITMQ_URL_EVENT_SOURCE="amqp://rabbitmq:5672" \
--build-arg RABBITMQ_VHOST="event_source" \
--build-arg MITC_HOST="http://mitc" \
--build-arg MITC_PORT="3001" \
Expand Down
4 changes: 2 additions & 2 deletions .docker/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ARG SECRET_KEY_BASE
ARG POLYPRESS_DB_HOST
ARG POLYPRESS_DB_PORT
ARG POLYPRESS_DB_NAME
ARG RABBITMQ_URL
ARG RABBITMQ_URL_EVENT_SOURCE
ARG RABBITMQ_HOST
ARG RABBITMQ_PORT
ARG RABBITMQ_VHOST
Expand All @@ -46,7 +46,7 @@ ARG MITC_URL
ENV POLYPRESS_DB_HOST=$POLYPRESS_DB_HOST
ENV POLYPRESS_DB_PORT=$POLYPRESS_DB_PORT
ENV POLYPRESS_DB_NAME=$POLYPRESS_DB_NAME
ENV RABBITMQ_URL=$RABBITMQ_URL
ENV RABBITMQ_URL_EVENT_SOURCE=$RABBITMQ_URL_EVENT_SOURCE
ENV RABBITMQ_HOST=$RABBITMQ_HOST
ENV RABBITMQ_PORT=$RABBITMQ_PORT
ENV RABBITMQ_VHOST=$RABBITMQ_VHOST
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
- RABBITMQ_VHOST=${RABBITMQ_VHOST:-event_source}
- RABBITMQ_PASSWORD=${RABBITMQ_PASSWORD:-guest}
- RABBITMQ_PORT=${RABBITMQ_PORT:-5672}
- RABBITMQ_URL=${RABBITMQ_URL:-amqp://guest:guest@amqp:5672}
- RABBITMQ_URL_EVENT_SOURCE=${RABBITMQ_URL_EVENT_SOURCE:-amqp://guest:guest@amqp:5672}
- RABBITMQ_USERNAME=${AMQP_USERNAME:-guest}
- RAILS_ENV=${RAILS_ENV:-development}
- SFTP_HOST=""
Expand Down

0 comments on commit e1058b7

Please sign in to comment.