A dead simple single file Memcached stats dashboard in PHP. The dashboard shows a few basic stats on the configured server and allows to delete/set keys and flush all data. All assets (CSS ans JavaScript) are loaded from CDN's.
0.2.0
##ScreenShots
git clone https://github.com/viict/memcached-php-dashboard memcached-php-dashboard
Simple point your browser to installed directory
Default username: admin
Default Password: admin
Change server IP, Port or Default user
$ip = '192.23.23.23'; //set your ip address def: 127.0.0.1
$port = '11311'; //set your port def: 112211
$users = array(
'admin' => 'some_hard_to_crack_pass@$%^',
'another_user' => 'another_pass'
);
new Simple_memchached_dashboard($ip,$port,$users);
Simple image to easily setup this on container environment
docker run -it -p 8000:80 viict/memcached-php-dashboard:latest
You can change the default configuration using environment variables:
docker run -it -p 8000:80 \
--env MEMCACHE_HOST=192.23.23.23 \
--env MEMCACHE_PORT=11311 \
--env MEMCACHE_USER_LOGIN=an_admin \
--env MEMCACHE_USER_PASSWORD=a-fancy-password \
viict/memcached-php-dashboard:latest
Refer to docker-compose.yml
on how to set this up
Refer to docker hub for versions available.
I'll try to keep latest always stable
MIT
This Script uses the following resources:
- DataTables - is free open source software, available under the MIT license.
- Twitter Bootstrap licensed under Apache License v2.0.
- morris.js licensed under Simplified BSD License.
- alertify.js is licensed under MIT.
- jQuery is licensed MIT license.