ReferenceError: collections is not defined

Hey @delcroip, Thank you for your patience, Just a quick question regarding your configuration. Have you setup WORKER_COLLECTIONS_URL ??

If not can you try to update worker in your docker-compose.yml

worker:
    image: 'openfn/ws-worker:latest'
    ...
    expose:
      - '2222'
    environment:
      WORKER_COLLECTIONS_URL: "http://web:4000/collections"

And let me know if the problem still exist ?

1 Like