You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
889 B

9 years ago
  1. # beanstalkd-console
  2. Admin console for Beanstalk queue server
  3. ## Usage
  4. ```sh
  5. $ docker run -d -p 11300:11300 --name beanstalkd schickling/beanstalkd
  6. $ docker run -d -p 2080:2080 --link beanstalkd:beanstalkd schickling/beanstalkd-console
  7. ```
  8. `beanstalkd-console` automatically works when the Beanstalkd docker container is linked as `beanstalkd` since it populates the `BEANSTALK_SERVERS` environment variable with `$BEANSTALKD_PORT_11300_TCP_ADDR:11300`.
  9. ## Authentication (Basic Auth)
  10. For using basic auth in console should add these environment variables:
  11. `AUTH=enable`
  12. `AUTH_USERNAME=username` (default is `admin`)
  13. `AUTH_PASSWORD=password` (default is `password`)
  14. To run console with auth use this command:
  15. ```sh
  16. docker run -d -p 2080:2080 --link beanstalkd:beanstalkd -e AUTH=enable -e AUTH_USERNAME=admin -e AUTH_PASSWORD=password schickling/beanstalkd-console
  17. ```