lmenezes/cerebro
Fork: 717 Star: 5528 (更新于 2024-10-25 01:42:05)
license: MIT
Language: JavaScript .
最后发布版本: v0.9.4 ( 2021-04-10 23:11:24)
Cerebro
cerebro is an open source(MIT License) elasticsearch web admin tool built using Scala, Play Framework, AngularJS and Bootstrap.
Requirements
cerebro needs Java 11 or newer to run.
Installation
- Download from https://github.com/lmenezes/cerebro/releases
- Extract files
- Run bin/cerebro(or bin/cerebro.bat if on Windows)
- Access on http://localhost:9000
Chocolatey (Windows)
You can install cerebro
using Chocolatey:
choco install cerebro-es
Package creates windows service cerebro
.
Access on http://localhost:9000
Docker
You can find the official docker images in the official docker hub repo.
Visit cerebro-docker for further information.
Configuration
HTTP server address and port
You can run cerebro listening on a different host and port(defaults to 0.0.0.0:9000):
bin/cerebro -Dhttp.port=1234 -Dhttp.address=127.0.0.1
LDAP config
LDAP can be configured using environment variables. If you typically run cerebro using docker, you can pass a file with all the env vars. The file would look like:
# Set it to ldap to activate ldap authorization
AUTH_TYPE=ldap
# Your ldap url
LDAP_URL=ldap://exammple.com:389
LDAP_BASE_DN=OU=users,DC=example,DC=com
# Usually method should be "simple" otherwise, set it to the SASL mechanisms
LDAP_METHOD=simple
# user-template executes a string.format() operation where
# username is passed in first, followed by base-dn. Some examples
# - %s => leave user untouched
# - %s@domain.com => append "@domain.com" to username
# - uid=%s,%s => usual case of OpenLDAP
LDAP_USER_TEMPLATE=%s@example.com
# User identifier that can perform searches
LDAP_BIND_DN=admin@example.com
LDAP_BIND_PWD=adminpass
# Group membership settings (optional)
# If left unset LDAP_BASE_DN will be used
# LDAP_GROUP_BASE_DN=OU=users,DC=example,DC=com
# Attribute that represent the user, for example uid or mail
# LDAP_USER_ATTR=mail
# If left unset LDAP_USER_TEMPLATE will be used
# LDAP_USER_ATTR_TEMPLATE=%s
# Filter that tests membership of the group. If this property is empty then there is no group membership check
# AD example => memberOf=CN=mygroup,ou=ouofthegroup,DC=domain,DC=com
# OpenLDAP example => CN=mygroup
# LDAP_GROUP=memberOf=memberOf=CN=mygroup,ou=ouofthegroup,DC=domain,DC=com
You can the pass this file as argument using:
docker run -p 9000:9000 --env-file env-ldap lmenezes/cerebro
There are some examples of configuration in the examples folder.
Other settings
Other settings are exposed through the conf/application.conf file found on the application directory.
It is also possible to use an alternate configuration file defined on a different location:
bin/cerebro -Dconfig.file=/some/other/dir/alternate.conf
最近版本更新:(数据更新于 2024-09-22 15:24:36)
2021-04-10 23:11:24 v0.9.4
2020-12-27 21:19:38 v0.9.3
2020-06-18 07:51:26 v0.9.2
2020-05-20 18:08:31 v0.9.1
2020-04-24 20:25:49 v0.9.0
2019-11-18 16:25:45 v0.8.5
2019-07-23 20:14:38 v0.8.4
2019-04-05 16:49:37 v0.8.3
2019-04-02 20:11:50 v0.8.2
2018-06-20 19:19:56 v0.8.1
主题(topics):
admin, elasticsearch
lmenezes/cerebro同语言 JavaScript最近更新仓库
2024-11-05 19:13:47 jerryc127/hexo-theme-butterfly
2024-11-05 13:53:42 LiteLoaderQQNT/LiteLoaderQQNT
2024-11-03 02:40:36 chris81605/Degrees-of-Lewdity_Cheat_Extended
2024-11-01 21:55:46 projectdiscovery/nuclei-templates
2024-11-01 19:24:44 NumberSir/DoL-I18n-Build
2024-11-01 12:25:14 midoks/mdserver-web