docker-luigi
docker-luigi copied to clipboard
example container cannot reach to scheduler container with docker setup
I tried running docker-compose up -d
with this setup but the example container is unable to reach the scheduler because it tries to access localhost:8082
which is incorrect from that container. I know that it should try to access luigi:8082
instead but not sure where to specify that config?
I figured I had to provide the LUIGI_CONFIG_PATH
as an env variable in the example
container and then add the following lines to a new config file
[core]
logging_conf_file: ./luigi/logging.conf
default-scheduler-host: luigi
default-scheduler-port: 8082
default-scheduler-url: http://luigi:8082