Public | Automated Build

Last pushed: a year ago
Short Description
rundeck for sonda
Full Description

Sonda - Rundeck POC

Cómo correr este contenedor??

1.- Crear una base de datos

Podemos correr un contenedor MYSQL y exponer un volumen para que sea guardado en el HOST "/var/mysql_volume"

docker run --name mysql -v /var/mysql_volume:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=Sonda.2016 -p 3306:3306 -d mysql:5.6

Tendremos que entrar al contenedor

docker exec -it mysql bash

Y crear una nueva base de datos para rundeck

mysql -u root -p
create database rundeck;
grant ALL on rundeck.* to 'rundeck'@ identified by 'Sonda.2016';

2.- Levantar la máquina rundeck

docker run -d --restart=always -p 4440:4440 --name rundeck -e SERVER_URL= -e DATABASE_URL= -e IP_ADDRESS= -e RUNDECK_PASSWORD=Sonda.2016 -e RUNDECK_STORAGE_PROVIDER=db -e RUNDECK_PROJECT_STORAGE_TYPE=db -e NO_LOCAL_MYSQL=true -t cabrerabywaters/sonda-rundeck:latest

2.1- Iniciar el servicio de Logstash en la máquina

/opt/logstash/bin/logstash -f /root/rundeck-logstash.conf &

3.- Levantar la máquina ELK

docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -p 5000:5000 -it --name elk sebp/elk

Si necesitamos detener Rundeck podemos hacerlo por medio del comando

/etc/init.d/rundeckd stop

Fuentes de Informacion

WinRm config

Adding Remote windows node to Rundeck

Admin Guide for rundeck:

This repository contains the source for the Rundeck docker image.

Environment variables

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

RDECK_JVM - Additional parameters sent to the rundeck JVM (ex: -Dserver.web.context=/rundeck)

DATABASE_URL - For use with (container) external database

RUNDECK_PASSWORD - MySQL 'rundeck' user password

RUNDECK_STORAGE_PROVIDER - Options file (default) or db.  See:

RUNDECK_PROJECT_STORAGE_TYPE - Options file (default) or db.  See:


NO_LOCAL_MYSQL - false (default).  Set to true if using an external MySQL container or instance.  Make sure to set DATABASE_URL and RUNDECK_PASSWORD (used for JDBC connection to MySQL).  Further details for setting up MYSQL:


/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
/opt/rundeck-plugins - For adding external plugins
Docker Pull Command
Source Repository