Can someone explain me what wrong with my graylog docker compose file . I tried to put some environement following the tutorial.
Thanks
Can someone explain me what wrong with my graylog docker compose file . I tried to put some environement following the tutorial.
Thanks
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.
Hej
what tutorial are you following?
hello, thanks for the reply ! this tutorial : http://docs.graylog.org/en/2.2/pages/installation/docker.html
/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 https://docs.docker.com/compose/compose-file/#volumes for details.
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 !
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
.
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: http://docs.graylog.org/en/2.2/pages/installation/virtual_machine_appliances.html
ok thanks i finally understood it.
i can see the mongo and elasticsearch container running docker ps but not
graylog.
where can look to see what go wrong ?
You can check the logs of the Docker container: docker logs | Docker Docs
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).
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 ?
See http://docs.graylog.org/en/2.2/pages/configuration/https.html for details about configuring HTTPS in Graylog.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.