docker-luigi icon indicating copy to clipboard operation
docker-luigi copied to clipboard

example container cannot reach to scheduler container with docker setup

Open mandeepm91 opened this issue 4 years ago • 1 comments

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?

mandeepm91 avatar Jan 10 '20 12:01 mandeepm91

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

mandeepm91 avatar Jan 10 '20 13:01 mandeepm91