/rundeck

Primary LanguageShellGNU General Public License v3.0GPL-3.0

rundeck

This repository contains the source for the Rundeck docker image.

Image details

  1. Based on debian:wheezy
  2. Supervisor, Apache2, and rundeck
  3. No SSH. Use nsenter
  4. If RUNDECK_PASSWORD is not supplied, it will be randomly generated and shown via stdout.
  5. Supply the SERVER_URL or else you won't get too far :)
  6. As always, update passwords for pre-installed accounts
  7. I sometimes get connection reset by peer errors when building the Docker image from the Rundeck download URL. Trying again usually works.

Automated build

docker pull jordan/rundeck

Usage

Start a new container and bind to host's port 4440

sudo docker run -p 4440:4440 -e SERVER_URL=http://MY.HOSTNAME.COM:4440 -t jordan/rundeck:latest

Environment variables

SERVER_URL - Full URL in the form http://MY.HOSTNAME.COM:4440, http//123.456.789.012:4440, etc

DATABASE_URL - For use with (container) external database

RUNDECK_PASSWORD - MySQL 'rundeck' user password

DEBIAN_SYS_MAINT_PASSWORD

Volumes

/etc/rundeck
/var/rundeck
/var/lib/rundeck - Not recommended to use as a volume as it contains webapp.  For SSH key you can use the this volume: /var/lib/rundeck/.ssh
/var/lib/mysql
/var/log/rundeck