{"id":21615121,"url":"https://github.com/eea/eea.docker.graylog2","last_synced_at":"2025-04-11T07:02:13.008Z","repository":{"id":28942708,"uuid":"32468606","full_name":"eea/eea.docker.graylog2","owner":"eea","description":"All-in-one, ready to run Graylog2 Docker image","archived":false,"fork":false,"pushed_at":"2017-06-29T09:33:27.000Z","size":67,"stargazers_count":12,"open_issues_count":0,"forks_count":9,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-03-25T04:51:23.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.hub.docker.com/u/eeacms/graylog2","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eea.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-18T15:53:42.000Z","updated_at":"2024-10-08T20:27:47.000Z","dependencies_parsed_at":"2022-09-16T10:51:35.237Z","dependency_job_id":null,"html_url":"https://github.com/eea/eea.docker.graylog2","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.graylog2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.graylog2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.graylog2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.graylog2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eea.docker.graylog2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358555,"owners_count":21090402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T22:10:35.619Z","updated_at":"2025-04-11T07:02:12.973Z","avatar_url":"https://github.com/eea.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Standalone Graylog2 Docker image\n\nOut of the box, ready to run Graylog2 image.\n\nFit for open-source apps and configs.\n\nCan run without specifying an admin password.\n\n## DEPRECATED\n\nPlease use [the official Graylog2 image](https://hub.docker.com/r/graylog2/server)\n\n## Versions:\n* latest: Graylog2 2.2.3\n* 2.2-3.1 Graylog2 2.2.3\n* 2.0.3: Graylog2 2.0.3\n* 2.0.2: Graylog2 2.0.2\n* 1.3.4: Graylog2 1.3.4\n* 1.3.3: Graylog2 1.3.3\n* 1.3.2: Graylog2 1.3.2\n* 1.2.2: Graylog2 1.2.2\n* 1.2.1-2: Graylog2 1.2.1 with email transport configuration\n* 1.2.1-1: Graylog2 1.2.1 standalone\n* 1.2.1: Graylog2 1.2.1 allinone\n* 1.0.0: Graylog2 1.0.0\n\n## Dependencies\n\n* ElasticSearch - [https://www.elastic.co](https://www.elastic.co)\n* MongoDB - [https://www.mongodb.org](https://www.mongodb.org)\n\nFor a quick configuration example view [eea.docker.logcentral](https://github.com/eea/eea.docker.logcentral/blob/master/docker-compose.singlenode.yml)\n\n## Ports\n\n* 9000 - Graylog2 web interface\n* 12201 - GELF input\n\n## Configuration\nEvery configuration option can be set via environment variables, take a look [here](https://github.com/Graylog2/graylog2-server/blob/master/misc/graylog.conf) for an overview. Simply prefix the parameter name with ```GRAYLOG_``` and put it all in upper case. Another option would be to store the configuration file outside of the container and edit it directly.\n\n## Environment variables\n\n* ```GRAYLOG_PASSWORD``` - run the container overriding the admin password with\n  the value of this parameter. If no password is set either via ```/config``` or\n  this parameter, the server will run with an unusable auto-generated password.\n\n* ```ENABLED_SERVICES``` - a list of comma separated values of the services to\n  be ran in this container. The available services are: ```server```, ```web```. By default __all__\n  services are started.\n\n  __Note:__ This option works only with custom server or\n  web interface configs because the default config expects elastic and mongo to be on localhost.\n\n### Email transport configuration\n\n* ```GRAYLOG_TRANSPORT_EMAIL_ENABLED``` - run the container with transport mail enable.\n\n  __Note:__ the value of this parameter is ```true``` or ```false```\n\n* ```GRAYLOG_TRANSPORT_EMAIL_HOSTNAME``` - the hostname of mail server.\n\n* ```GRAYLOG_TRANSPORT_EMAIL_PORT``` - the port of mail server.\n\n* ```GRAYLOG_TRANSPORT_EMAIL_USE_AUTH``` - set ```true``` if mail server use authentication, ```false``` otherwise.\n\n  __Note:__ the value of this parameter is ```true``` or ```false```\n\n* ```GRAYLOG_TRANSPORT_EMAIL_USE_TLS``` - set ```true``` if mail server use TLS authentication, ```false``` otherwise.\n\n  __Note:__ the value of this parameter is ```true``` or ```false```\n\n* ```GRAYLOG_TRANSPORT_EMAIL_USE_SSL``` - set ```true``` if mail server use SSL authentication, ```false``` otherwise.\n\n  __Note:__ the value of this parameter is ```true``` or ```false```\n\n* ```GRAYLOG_TRANSPORT_EMAIL_AUTH_USERNAME``` - the username used to connect to mail server if it use authentication.\n\n* ```GRAYLOG_TRANSPORT_EMAIL_AUTH_PASSWORD``` - the password used to connect to mail server if it use authentication.\n\n* ```GRAYLOG_TRANSPORT_EMAIL_SUBJECT_PREFIX``` - the subject prefix of sended emails.\n\n* ```GRAYLOG_TRANSPORT_EMAIL_FROM_EMAIL``` - the sender email.\n\n* ```GRAYLOG_TRANSPORT_EMAIL_WEB_INTERFACE_URL``` - the graylog2 web url used if you want to include links to the stream in your stream alert mails.\nThis should define the fully qualified base url to your web interface exactly the same way as it is accessed by your users.\n\n#### Keeping node configuration persistent:\nGraylog2 stores node config in a key: value manner, where the key is the node's id.\nWhen using docker, the node id is given by the container id wich is regenerated after\neach run. To have a persistent node_id use this:\n\n```\ndocker run --name some-mongo -d mongo\ndocker run --name some-elasticsearch -d elasticsearch elasticsearch -Des.cluster.name=\"graylog2\"\ndocker run -v /path/to/your/data:/data -p 9000:9000 eeacms/graylog2\n```\n\n### Useful Directories\n\nThese directories can be added as volumes in order to have a better control\nover the behavior of Graylog2.\n\n#### /config\n\n```/config``` Can be added in order to use custom configuration files.\nFor the config to be loaded you have to add the following files:\n* graylog-server.conf: For the graylog-server service\n* graylog-web-interface.conf: For the graylog-web-interface service\n\nIf a file is not present, the service will run with the default configuration\n(single container, all services available on localhost)\n\n# Contributing\n\nIf you used this image and saw something that can be improved, please send a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.graylog2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feea.docker.graylog2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.graylog2/lists"}