Skip to content
项目

关于

一组 Docker Compose 文件,可快速启动用于测试或演示的 Graylog 实例。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Graylog Docker Compose files

[!IMPORTANT] The Docker Compose files in this repository are meant for testing and demo purposes! The files might be outdated, can change in incompatible ways, and are not tested for production use cases!

Introduction

This is a set of Docker Compose files that allow you to quickly spin up a Graylog instance for testing or demo purposes.

Prerequisites

Configure your OS

Make sure to configure your OS or Docker to have the correct vm.max_map_count setting, see: OpenSearch Docs

Configure Graylog

All the Graylog configurations can be set via environment variables. Just prefix the parameter name with GRAYLOG_ and put it in upper case.

There is an environment file (.env.example) where you can store these environment variables. Rename this to .env so Docker Compose will pick it up.

  cp .env.example .env

[!IMPORTANT] Be sure to to set the GRAYLOG_PASSWORD_SECRET and GRAYLOG_ROOT_PASSWORD_SHA2 environment variables in the .env file! Graylog won't start without these.

Starting Graylog

After you've configured GRAYLOG_PASSWORD_SECRET and GRAYLOG_ROOT_PASSWORD_SHA2, run these commands to start the instance:

docker compose up

To start it daemonized, run:

docker compose up -d

Default client port is 9000. So now you can navigate to http://localhost:9000.

Login:

  admin

Password:

If you're running the DataNode and it's the initial startup, use

  password from the logs of your first graylog node

as the password for the basic auth dialog to access the preflight/configuration UI. Use

  <your password from GRAYLOG_ROOT_PASSWORD_SHA2>

after you configured graylog. If you have manually configured graylog to connect to OpenSearch directly, use

  <your password from GRAYLOG_ROOT_PASSWORD_SHA2>

because the preflight/configuration UI will not be shown.

License

Graylog itself is licensed under the Server Side Public License (SSPL), see license information.

This Docker image is licensed under the Apache 2.0 license, see LICENSE.

探索相关项目

加载中…