hi, quick question. is it possible to use an envir...
# announcements
c
hi, quick question. is it possible to use an environment variable in the
celery_config.yaml
that is passed to
dagster-celery
?
at least for broker and backend
c
awesome!
that's perfect timing haha
😄 1
a
plan is to go out today
c
nice!!
thank you as always for the amazing product and help 🙂
❤️ 3
@alex this didn't make it's way into 0.7.6 right?
a
should have
what are you seeing? are you doing
Copy code
broker:
  env: ENV_NAME
c
yeah
Copy code
execution:
  celery:
    broker:
      env: CELERY_BROKER
Copy code
worker_1  |     broker_url = '{'env': 'CELERY_BROKER'}'
worker_1  |                       ^
worker_1  | SyntaxError: invalid syntax
a
ah bollox the worker cli thing i didnt patch up
c
ah
no worries
a
what are you running exactly?
dagster-celrey worker start ?
c
yeah
["dagster-celery", "worker", "start", "-y", "celery.yaml"]
a
sorry got distracted - i think this is all thats needed https://dagster.phacility.com/D2439
c
nice!
related question - i'm using sqs with celery and it is creating a new queue for every run. is that expected behavior or something to do with celery?
a
cc @nate / @max that sounds off
m
that does sound off, we haven't done (any?) testing with SQS so i am not sure how it behaves