Open mikensan opened 2 years ago
I'm using
environment: GRAYLOG_NODE_ID_FILE: "/usr/share/graylog/data/config/node-id" GRAYLOG_PASSWORD_SECRET: "${GRAYLOG_PASSWORD_SECRET:?Please configure GRAYLOG_PASSWORD_SECRET in the .env file}" GRAYLOG_ROOT_PASSWORD_SHA2: "${GRAYLOG_ROOT_PASSWORD_SHA2:?Please configure GRAYLOG_ROOT_PASSWORD_SHA2 in the .env file}" GRAYLOG_HTTP_BIND_ADDRESS: "0.0.0.0:9000" GRAYLOG_HTTP_EXTERNAL_URI: "http://localhost:9000/" GRAYLOG_ELASTICSEARCH_HOSTS: "http://opensearch:9200" GRAYLOG_MONGODB_URI: "mongodb://mongodb:27017/graylog" GRAYLOG_TZ: America/Sao_Paulo GRAYLOG_TIMEZONE: America/Sao_Paulo GRAYLOG_ROOT_TIMEZONE: America/Sao_Paulo
Would recommend adding GRAYLOG_ROOT_TIMEZONE: "whatever" and TZ: "ZoneName" to the environment variables in the docker-compose files.
Since most people may not know how to edit the graylog.conf to modify the admin time (since it cannot be edited from the web console) as well as the container's time defaults to UTC.