kafka-connect-ui icon indicating copy to clipboard operation
kafka-connect-ui copied to clipboard

[docker] Don't overwrite /kafka-connect-ui/env.js if volume mounted

Open OneCricketeer opened this issue 6 years ago • 0 comments

In Compose, I did this

    volumes:
      - ./kafka-connect-env.js:/kafka-connect-ui/env.js

But the file was unexpectedly overwritten.

Putting the file in read-only mode lets the container start, but it seems it's not able to connect to any of the clusters. Just giving a single CONNECT_URL via an environment variable with one of the URLs from the JS file works fine.

OneCricketeer avatar Jan 25 '18 16:01 OneCricketeer