Docker compose up file got wrong variables

You can use an arbitrary path on your host machine for these directories, they don’t have to be at /graylog/data/journal and /graylog/config.

Just make sure to mount them at the correct path inside the container, i. e. /usr/share/graylog/data/journal and /usr/share/graylog/data/config.