Skip to content

viict/memcached-php-dashboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memchaced Dashboard

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.

Version

0.2.0

##ScreenShots

Login Server Info Charts Stored Values

Installation

git clone https://github.com/viict/memcached-php-dashboard memcached-php-dashboard

Usage

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);

Docker Usage

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

License

MIT

This Script uses the following resources:

About

A dead simple single file Memchaced stats dashboard in PHP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.0%
  • Dockerfile 1.0%