Browse Source

beanstalkd console

pull/4/head
Johannes Schickling 9 years ago
parent
commit
5983c09585
  1. 1
      README.md
  2. 8
      beanstalkd-console/Dockerfile
  3. 11
      beanstalkd-console/README.md
  4. 15
      beanstalkd-console/install.sh

1
README.md

@ -6,6 +6,7 @@ Collection of lightweight and ready-to-use docker images
## Images
* **[Beanstalkd](https://github.com/schickling/dockerfiles/tree/master/beanstalkd)** - Lightweight image of the latest beanstalkd version
* **[Beanstalkd-Console](https://github.com/schickling/dockerfiles/tree/master/beanstalkd-console)** - Admin console for Beanstalk queue server
* **[Hugin](https://github.com/schickling/dockerfiles/tree/master/hugin)** - Hugin & Panorama tools
* **[Jekyll](https://github.com/schickling/dockerfiles/tree/master/jekyll)** - Lightweight jekyll working environment
* **[Latex](https://github.com/schickling/dockerfiles/tree/master/latex)** - Full texlive distribution

8
beanstalkd-console/Dockerfile

@ -0,0 +1,8 @@
FROM php:5.6
MAINTAINER Johannes Schickling "schickling.j@gmail.com"
ADD install.sh install.sh
RUN chmod +x install.sh && ./install.sh && rm install.sh
EXPOSE 2080
CMD ["php", "-S", "0.0.0.0:2080", "-t", "/source"]

11
beanstalkd-console/README.md

@ -0,0 +1,11 @@
# beanstalkd-console
Admin console for Beanstalk queue server
## Usage
```sh
$ docker run -d -p 11300:11300 --name beanstalkd schickling/beanstalkd
$ docker run -d -p 2080:2080 --link beanstalkd:beanstalkd schickling/beanstalkd-console
```

15
beanstalkd-console/install.sh

@ -0,0 +1,15 @@
#! /bin/bash
# exit if a command fails
set -e
# install curl (needed to install rust)
apt-get update && apt-get install -y curl
# download
mkdir /source
curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /source
# cleanup package manager
apt-get remove --purge -y curl && apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Loading…
Cancel
Save