Hi, is it possible to use sensors with a single co...
# ask-community
m
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 $?