Skip to content

Commit

Permalink
use WIS2BOX_BROKER_PUBLIC if no AWS_BROKER defined
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Nov 29, 2023
1 parent d5c98f0 commit 0e90c8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wis2box-data-subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
LOGGING_LOGLEVEL = os.environ.get('LOGGING_LEVEL', 'INFO')
CENTRE_ID = os.environ.get('CENTRE_ID', 'not defined')
AWS_BROKER = os.environ.get('AWS_BROKER', 'not defined')
if AWS_BROKER == 'not defined':
AWS_BROKER = os.environ.get('WIS2BOX_BROKER_PUBLIC', 'not defined')

MINIO_ENDPOINT = os.environ.get('MINIO_ENDPOINT')
MINIO_USER = os.environ.get('MINIO_USER')
Expand Down

0 comments on commit 0e90c8b

Please sign in to comment.