Add webdis and grafana
This commit is contained in:
parent
2d279c5fa1
commit
b84beb7bac
5 changed files with 104 additions and 1 deletions
22
webdis/docker-compose.yml
Normal file
22
webdis/docker-compose.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
services:
|
||||
webdis:
|
||||
image: nicolas/webdis:latest
|
||||
restart: always
|
||||
command: /usr/local/bin/webdis /config/webdis.json
|
||||
volumes:
|
||||
- ./:/config
|
||||
networks:
|
||||
- shared
|
||||
depends_on:
|
||||
- redis
|
||||
ports:
|
||||
- "127.0.0.1:7379:7379"
|
||||
|
||||
redis:
|
||||
image: redis:6.2.6
|
||||
restart: always
|
||||
networks:
|
||||
- shared
|
||||
|
||||
networks:
|
||||
shared:
|
31
webdis/webis.json
Normal file
31
webdis/webis.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"redis_host": "redis",
|
||||
|
||||
"redis_port": 6379,
|
||||
"redis_auth": null,
|
||||
|
||||
"http_host": "0.0.0.0",
|
||||
"http_port": 7379,
|
||||
|
||||
"threads": 5,
|
||||
"pool_size": 20,
|
||||
|
||||
"daemonize": false,
|
||||
"websockets": false,
|
||||
|
||||
"database": 0,
|
||||
|
||||
"acl": [
|
||||
{
|
||||
"disabled": ["DEBUG"]
|
||||
},
|
||||
|
||||
{
|
||||
"http_basic_auth": "user:password",
|
||||
"enabled": ["DEBUG"]
|
||||
}
|
||||
],
|
||||
|
||||
"verbosity": 4,
|
||||
"logfile": "/dev/stderr"
|
||||
}
|
Reference in a new issue