Admin console for Beanstalk queue server, written in PHP
Features
- Common list of servers in config for all users + optional Basic Auth
- Global server list can be set via BEANSTALK_SERVERS environment variable
- Each user can add its own personal Beanstalkd server
- Full list of available tubes
- Complete statistics about jobs in tubes
- Realtime auto-update with highlighting of changed values
- You can view jobs in ready/delayed/buried states in every tube
- You can add/kick/delete jobs in every tube
- You can select multiple tubes by regExp and clear them
- You can move jobs between tubes
- Ability to Pause tubes
- Saved jobs (store sample jobs as a template, kick/edit them, very useful for development)
- Search jobs data field
- Customizable UI (code highlighter, choose columns, edit auto refresh seconds, pause tube seconds)
Change log on Releases.
Installation
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the create-project
command to generate a new application:
php composer.phar create-project ptrofimov/beanstalk_console -s dev path/to/install
Composer will install the Beanstalk Console and all its dependencies under the path/to/install
directory.
Install VirtualBox and vagrant then run (from project root):
vagrant up
After provision beanstalk console will be available at http://localhost:7654 (port could be configured in Vagrantfile)
Download, unzip files to your www directory and launch from public directory, enjoy!
Install Docker then build and run with the following command (from project root):
docker build --rm -t beanstalk_console .
docker run -d -p "80:80" --name beanstalk_console beanstalk_console
If you would rather just run the existing automated build of this project, run (from project root):
docker run -d -p "80:80" -e APACHE_PORT=80 --name beanstalk_console agaveapi/beanstalkd-console
To configure webapp with a custom beanstalk server to load at runtime, set the BEANSTALKD_HOST
and BEANSTALKD_PORT
environment variables.
docker run -d -p 80:80 \
--name beanstalk_console \
-e 'BEANSTALKD_HOST=beanstalkd' \
-e 'BEANSTALKD_PORT=11300' \
beanstalk_console
To spin up a console with a beanstalkd server all at once, install Docker Compose and run (from project root):
docker-compose up
Authors: Petr Trofimov, Sergey Lysenko, Pentium10
ΠΠ΄ΠΌΠΈΠ½ΠΈΡΡΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΊΠΎΠ½ΡΠΎΠ»Ρ Π΄Π»Ρ ΡΠ΅ΡΠ²Π΅ΡΠ° ΠΎΡΠ΅ΡΠ΅Π΄Π΅ΠΉ Beanstalk, Π½Π°ΠΏΠΈΡΠ°Π½Π½Π°Ρ Π½Π° PHP
ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ
- ΠΠ±ΡΠΈΠΉ ΡΠΏΠΈΡΠΎΠΊ ΡΠ΅ΡΠ²Π΅ΡΠΎΠ² Π² ΠΊΠΎΠ½ΡΠΈΠ³Π΅ Π΄Π»Ρ Π²ΡΠ΅Ρ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ
- ΠΠ»ΠΎΠ±Π°Π»ΡΠ½ΡΠΉ ΡΠΏΠΈΡΠΎΠΊ ΡΠ΅ΡΠ²Π΅ΡΠΎΠ² ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ ΡΠ΅ΡΠ΅Π· ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ ΠΎΠΊΡΡΠΆΠ΅Π½ΠΈΡ BEANSTALK_SERVERS
- ΠΠ°ΠΆΠ΄ΡΠΉ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΠΌΠΎΠΆΠ΅Ρ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ ΡΠ²ΠΎΠΉ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΡΠ΅ΡΠ²Π΅Ρ
- ΠΠΎΠ»Π½ΡΠΉ ΡΠΏΠΈΡΠΎΠΊ Π΄ΠΎΡΡΡΠΏΠ½ΡΡ ΡΡΡΠ±
- ΠΠΎΠ»Π½Π°Ρ ΡΡΠ°ΡΠΈΡΡΠΈΠΊΠ° ΡΠ°ΡΠΊΠΎΠ² Π² ΡΡΡΠ±Π°Ρ
- Realtime-ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Ρ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΊΠΎΠΉ ΠΈΠ·ΠΌΠ΅Π½ΠΈΠ²ΡΠΈΡ ΡΡ Π·Π½Π°ΡΠ΅Π½ΠΈΠΉ
- ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΡΠΎΡΠΌΠ°ΡΡΠΈΠ²Π°ΡΡ ΡΠ°ΡΠΊΠΈ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΉ ΡΡΡΠ±Π΅ (ready/delayed/buried)
- ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΡΠΏΠΎΠ»Π½ΡΡΡ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΈ Ρ ΡΠ°ΡΠΊΠ°ΠΌΠΈ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΉ ΡΡΡΠ±Π΅ (add/kick/delete)
Π£ΡΡΠ°Π½ΠΎΠ²ΠΊΠ°
Π‘ΠΊΠ°ΡΠ°ΠΉΡΠ΅, ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅ ΡΠ°ΡΠΏΠ°ΠΊΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠ°ΠΉΠ»Ρ Π² www ΠΏΠ°ΠΏΠΊΡ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΠΉΡΠ΅ΡΡ!
Π£ΡΡΠ°Π½ΠΎΠ²ΠΊΠ° Ρ ΠΏΠΎΠΌΠΎΡΡΡ vagrant
Π£ΡΡΠ°Π½ΠΎΠ²ΠΈΡΠ΅ VirtualBox ΠΈ vagrant Π·Π°ΡΠ΅ΠΌ Π·Π°ΠΏΡΡΡΠΈΡΠ΅ (Π² ΠΊΠΎΡΠ½Π΅Π²ΠΎΠΉ Π΄ΠΈΡΠ΅ΠΊΡΠΎΡΠΈΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠ°):
vagrant up
ΠΠΎΡΠ»Π΅ Π·Π°Π²Π΅ΡΡΠ΅Π½ΠΈΡ ΠΏΡΠΎΠ²ΠΈΠ·ΠΈΠΈ ΠΊΠΎΠ½ΡΠΎΠ»Ρ Π±ΡΠ΄Π΅Ρ Π΄ΠΎΡΡΡΠΏΠ½Π° ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ http://localhost:7654 (ΠΏΠΎΡΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠΈΡΠΎΠ²Π°ΡΡ Π² Vagrantfile)
ΠΠ²ΡΠΎΡΡ: ΠΠ΅ΡΡ Π’ΡΠΎΡΠΈΠΌΠΎΠ², Π‘Π΅ΡΠ³Π΅ΠΉ ΠΡΡΠ΅Π½ΠΊΠΎ, Pentium10
** Previous version is available here**
Keywords: beanstalk, beanstalkd, queue, console, gui, admin, web admin, monitoring, stats, interface, php