Graylog 4.2.7 + docker compose + https = semi fail

I think I have nailed it. The correct syntax seems to be:

      environment:
        - GRAYLOG_SERVER_JAVA_OPTS="-Xms8G -Xmx8G -Djavax.net.ssl.trustStore=/usr/share/graylog/cacerts.jks"

The following is not correct (please notice the space left of ‘=’:

      environment:
        - GRAYLOG_SERVER_JAVA_OPTS ="-Xms8G -Xmx8G -Djavax.net.ssl.trustStore=/usr/share/graylog/cacerts.jks"

While playing with entry point / environment variables I also found that the following line is misinterpreted by the entry point:

environment:
        - GRAYLOG_SERVER_JAVA_OPTS="-Djavax.net.ssl.trustStore=/usr/share/graylog/cacerts.jks"
some-graylog        | Error: Could not find or load main class "-Djavax.net.ssl.trustStore=.usr.share.graylog.cacerts.jks"

Is it a known issue ? Do you want me to open a new issue ?

Anyway, I can move forward !

1 Like