79735050

Date: 2025-08-14 07:00:44
Score: 0.5
Natty:
Report link

While Writing this question I fiddled around some more and found a solution, but since I haven't found a similar question with a working answer so far, I decided to post this question anyway, including the answer - I hope that's ok.

For some reason, setting the environment variables using solr.in.sh doesn't work. However, setting them via compose's environment:, works just fine, so just adjusting this block to

environment:
      ZK_HOST: [SELF-IP]:2181
      SOLR_OPTS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Djetty.host=[SELF-IP]
      SOLR_TIMEZONE: Europe/Berlin
      SOLR_HOST: [SELF-IP]

worked out sufficiently, no host-mode required.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Larmicon