https://dagster.io/ logo
#ask-community
Title
# ask-community
m

MarvinK

08/29/2022, 10:57 AM
Hi, is it possible to use sensors with a single container deployment? Can't find anything about that in the docs. Because at the moment I get the error "The sensor daemon is not running." and if I can avoid a multi container setup, i would like to do so.
dagster bot responded by community 1
If somebody wants to accomplish the same thing, I solved it using a start script to run dagit and daemon in one container. The sleep is necessary, because otherwhise there will be a occasional error during startup. (alembic_version error) You can search for that error here in slack.
Copy code
dagit -h 0.0.0.0 -p 3000 &
sleep 10 &&
dagster-daemon run &
wait -n
exit $?
3 Views