Rundeck server based on Debian
3 files added
1 files modified
202 ■■■■■ changed files
Dockerfile 12 ●●●●● patch | view | raw | blame | history
README.md 81 ●●●●● patch | view | raw | blame | history
bintray-gpg.key 52 ●●●●● patch | view | raw | blame | history
rundeck-gpg.key 57 ●●●●● patch | view | raw | blame | history
Dockerfile
@@ -1,18 +1,17 @@
FROM debian:latest
ENV DEBIAN_FRONTEND noninteractive
ENV RUNDECK_VERSION 2.6.1-1-GA
EXPOSE 4440
ADD bintray-gpg.key rundeck-gpg.key /root/
RUN echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" > /etc/apt/sources.list.d/rundeck.list \
    && apt-key add /root/bintray-gpg.key /root/rundeck-gpg.key
RUN apt-get -y update \
    && apt-get -y upgrade \
    && apt-get -y install openssh-client default-jre-headless wget \
    && apt-get -y install openssh-client default-jre-headless wget rundeck \
    && apt-get -y clean
RUN wget -O /tmp/rundeck.deb http://download.rundeck.org/deb/rundeck-${RUNDECK_VERSION}.deb \
    && dpkg -i /tmp/rundeck.deb \
    && rm -f /tmp/rundeck.deb
RUN mkdir /etc/rundeck-org \
    && mv /etc/rundeck/* /etc/rundeck-org/
@@ -22,6 +21,5 @@
VOLUME /etc/rundeck
VOLUME /var/lib/rundeck/data
VOLUME /var/lib/rundeck/var
VOLUME /var/lib/rundeck/logs
VOLUME /var/rundeck
README.md
New file
@@ -0,0 +1,81 @@
This is a Docker image of Rundeck (http://rundeck.org)
based on `debian:latest`
## Usage
```bash
docker run -d --name=rundeck -p 4440:4440 jacekkow/rundeck
```
Rundeck should be available at http://127.0.0.1:4440/
(user/password pairs: user/user and admin/admin)
By default it uses H2 database and Docker data volumes
for storage persistence.
You can update such installation by passing
`--volumes-from` to `docker run`:
```bash
docker stop rundeck
docker rename rundeck rundeck-old
docker run -d --name=rundeck -p 4440:4440 \
    --volumes-from rundeck-old \
    jacekkow/rundeck
docker rm -v rundeck-old
```
### Local volumes
You use local storage instead of data volumes:
```bash
docker run -d --name=rundeck -p 4440:4440 \
    -v /srv/rundeck/etc:/etc/rundeck \
    -v /srv/rundeck/data:/var/lib/rundeck/data \
    -v /srv/rundeck/logs:/var/lib/rundeck/logs \
    -v /srv/rundeck/rundeck:/var/rundeck \
    -v /srv/rundeck/ssh:/var/lib/rundeck/.ssh \
    jacekkow/rundeck
```
### External database
To increase performance, use MySQL instead of H2 database:
```bash
docker run -d --name=rundeck-db \
    -e MYSQL_ROOT_PASSWORD=root-pass \
    -e MYSQL_USER=rundeck \
    -e MYSQL_PASSWORD=rundeck-pass \
    -e MYSQL_DATABASE=rundeck \
    mariadb
docker run -d --name=rundeck -p 4440:4440 \
    -v /srv/rundeck/etc:/etc/rundeck \
    -v /srv/rundeck/data:/var/lib/rundeck/data \
    -v /srv/rundeck/logs:/var/lib/rundeck/logs \
    -v /srv/rundeck/rundeck:/var/rundeck \
    -v /srv/rundeck/ssh:/var/lib/rundeck/.ssh \
    --link rundeck-db:rundeck-db \
    jacekkow/rundeck
```
Then set the following options in
/srv/rundeck/etc/rundeck-config.properties
```
dataSource.url = jdbc:mysql://rundeck-db/rundeck?autoReconnect=true
dataSource.username = rundeck
dataSource.password = rundeck-pass
```
and restart the container:
```bash
docker restart rundeck
```
## Configuration
You can change Java system properties and JVM options by modifying
`RDECK_JVM` property in /etc/rundeck/profile (which is persisted).
bintray-gpg.key
New file
@@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFTi8JIBEACcN1ucQ1uCOZ1owTELQV/6i4q7NbYdJ5wf7yPYfEugSo3yfbo3
Pw/XEvlnpDZmT155sGNOkteZtZMdcm5XhFbdtquLlrkjAcUGatq5rAt3eLAlvU7u
CBCDJg3ZaqpZti5ti2TfiaXHeawTpxaTb3V5tT4NYhY0aJqe0MGoVl2yZyoKMWsL
8XcUiJkUYnpu98BvnzO9ORSnKWHk60YxzZuHh5buMNiV4aI331ogiTxqISzTwEdQ
ygtlp4IeqE6w4x4RUOqQg/mu0xhqnP375KksPtKALLEr9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