Docker compose up file got wrong variables

(Good Peoples Connected) #1

Can someone explain me what wrong with my graylog docker compose file . I tried to put some environement following the tutorial.


(Good Peoples Connected) #2

ok so i put quote around the value !
here what i got now !
should i create the directory before running docker-compose ? didnt understand the part of the tutorial for persistent data.

(Jan Doberstein) #3


what tutorial are you following?

(Good Peoples Connected) #4

hello, thanks for the reply ! this tutorial :

(Jochen) #5

/graylog/data/journal and /graylog/config from the examples in the documentation have to be existing local directories which are mounted into the Graylog Docker container.

See for details.

(Good Peoples Connected) #6

Hello thanks for the answer but can you be more verbose i’m new to docker !
where should i create this directories ? what the full path ? i went to
/user/share and created these directories but error still happenned !

(Jochen) #7

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.

(Good Peoples Connected) #8

here my docker compose file please help me figure it out !

(Jochen) #9

Please read again what I’ve written in my last post:

Additionally, I’d recommend using the virtual appliance (OVA) if you don’t want to learn Docker basics right now:

(Good Peoples Connected) #10

ok thanks i finally understood it.

i can see the mongo and elasticsearch container running docker ps but not

where can look to see what go wrong ?

(Jochen) #11

You can check the logs of the Docker container:

(Good Peoples Connected) #12

can’t look into the logs of a container if it didn’t started ! here what i

(Jochen) #13

Well, you can see the error message on your screenshot:

If REST and Web interface are served on the same host/port, the protocols must be identical!

TLS (HTTPS) must be used on both listeners (Graylog REST API and Graylog web interface) if they’re running on the same network interface (port).

(Good Peoples Connected) #14

hello, i keep fighting to make graylog works with ssl
i generated ssl with letsencrypt. seem like letsencrypt privkey is not in
pkcs8 format so i used openssl to do the change.

any tutorial with using letsencrypt ?

(Jochen) #15

See for details about configuring HTTPS in Graylog.

(system) closed #16

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.