Docker安裝graylog
官網:https://docs.graylog.org/en/3.0/pages/installation/docker.html
參考文章:https://www.cnblogs.com/kylingx/p/11960293.html
安裝mongodb
docker run \
--name mongo \
-p 27017:27017 \
-v /etc/localtime:/etc/localtime:ro \
-v /opt/mongo_data:/data \
-d mongo:latest
安裝es
docker run \
--name elasticsearch \
-p 9200:9200 -p 9300:9300 \
-e "http.host=0.0.0.0" \
-e "ES_JAVA_OPTS=-Xms512m -Xmx512m" \
-e "discovery.type=single-node" \
-e http.cors.allow-origin="*" \
-e http.cors.enabled=true \
-v /etc/localtime:/etc/localtime:ro \
-v /opt/es_data:/usr/share/elasticsearch/data \
-d docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.5
安裝graylog
docker run \
--link mongo \
--link elasticsearch \
--name graylog \
-p 9000:9000 \
-p 12201:12201 -p 12201:12201/udp \
-p 1514:1514 -p 1514:1514/udp \
-e GRAYLOG_ROOT_TIMEZONE=Asia/Shanghai \
-e GRAYLOG_HTTP_EXTERNAL_URI=http://172.23.62.248:9000/ \
-e GRAYLOG_WEB_ENDPOINT_URI="http://172.23.62.248:9000/:9000/api" \
-e GRAYLOG_PASSWORD_SECRET=somepasswordpepper \
-e GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 \
-v /etc/localtime:/etc/localtime:ro \
-v graylog_journal:/usr/share/graylog/data/journal \
-d graylog/graylog:3.1
訪問地址:http://172.23.62.248:9000/
使用者密碼:admin/admin
相關文章
- graylog 客戶端的安裝配置客戶端
- 安裝dockerDocker
- 安裝 dockerDocker
- docker 安裝Docker
- docker安裝及解除安裝Docker
- docker 安裝 RabbitMQDockerMQ
- docker 安裝 PHPDockerPHP
- docker安裝使用Docker
- Docker安裝NacosDocker
- docker 安裝 mysqlDockerMySql
- Docker安裝mongodbDockerMongoDB
- Docker安裝PortainerDockerAI
- docker安裝harborDocker
- redhat安裝dockerRedhatDocker
- Docker安裝JanusGraphDocker
- docker安裝zookeeperDocker
- macOS 安裝 DockerMacDocker
- Docker 安裝 NacosDocker
- MacOS Docker 安裝MacDocker
- Windows Docker 安裝WindowsDocker
- CentOS Docker 安裝CentOSDocker
- Ubuntu Docker 安裝UbuntuDocker
- windows安裝dockerWindowsDocker
- CentOS 安裝 dockerCentOSDocker
- docker安裝giteaDockerGit
- docker 安裝 supersetDocker
- macOS安裝DockerMacDocker
- Docker的安裝Docker
- Docker安裝tfsDocker
- CentOS安裝DockerCentOSDocker
- DOCKER windows安裝DockerWindows
- 三、Docker安裝Docker
- docker 解除安裝Docker
- ubuntu 安裝 dockerUbuntuDocker
- docker安裝svnDocker
- docker安裝redisDockerRedis
- docker安裝mysqlDockerMySql
- Docker安裝RabbitmqDockerMQ