Public Repository

Last pushed: 2 months ago
Short Description
Official ralph build
Full Description

Ralph

Ralph is full-featured Asset Management, DCIM and CMDB system for data center and back office.

Features:

  • auto-discover existing hardware
  • keep track of assets purchases and their life cycle
  • generate flexible and accurate cost reports
  • integrate with change management process using JIRA integration

It is an Open Source project provided on Apache v2.0 License.

For more details about the project, visit Ralph Project Website

This is complete Docker image for Ralph systems(Core, Assets + Scrooge) with database, and workers included and preconfigured.

Installation

Install docker using instructions at https://docs.docker.com/installation/. Use Docker version > 1.5
Create volume data for mysql data and configuration:

```docker run -i -t -name mysql_data -v /var/lib/mysql -v /home/ralph/.ralph busybox /bin/sh -c "chown default /home/ralph; chown default /home/ralph/.ralph"


Initialize config file and empty mysql database with default login and password and collect static files:

```docker run -P -t -i --volumes-from mysql_data allegrogroup/ralph:latest /bin/bash /home/ralph/init.sh

Now, run as ralph:

docker run -P -p 8000:8000 -t -i --name ralph --mac-address=02:42:ac:11:ff:ff --volumes-from mysql_data allegrogroup/ralph:latest

Now, open your browser to: http://YOUR_DOCKER_IP:8000. That’s all! For more information read Docker manuals. Enjoy!

Upgrading

To upgrade docker image, stop Ralph instance, pull new docker image and run migration script for DB and static files.

docker pull allegrogroup/ralph:latest

docker run -P -t -i -volumes-from mysql_data allegrogroup/ralph:latest /home/ralph/upgrade_ralph.sh

Docker Pull Command
Owner
allegrogroup

Comments (8)
zhuyr
a month ago

docker run -i -t --name="mysql_data" -v /var/lib/mysql -v /home/ralph/.ralph busybox /bin/sh -c "chown default /home/ralph; chown default /home/ralph/.ralph"
chown: unknown user default
chown: unknown user default
how I can do ?

painhardcore
2 months ago

Yes, found latest release on snapshot_latest.
But can't get it work, and documentation so wrong here.
and doc on http://ralph-ng.readthedocs.io/en/latest/installation/installation/ not working too.

ar4s
2 months ago

@painhardcore docker pull allegrogroup/ralph:3.0.0-snapshot-20170814-8242 or docker pull allegrogroup/snapshot_latest

latest is probably Ralph 2

painhardcore
2 months ago

installed that image and got Ralph 2.
How do i get 3 version.

cejojohn
8 months ago

Why is there no mention of this repo inside Ralph docs or in Github.com/allegro? Also what is the Github link to the source of this image?

hammondk
8 months ago

In order to get this line to work in CentOS 7, I had to change -name to --name.

docker run -i -t -name mysql_data -v /var/lib/mysql -v /home/ralph/.ralph busybox /bin/sh -c "chown default /home/ralph; chown default /home/ralph/.ralph"

polxmod
a year ago

Hi Allegro,
there is a typo in the first command (volume creation):

docker run -i -t -name mysql_data -v /var/lib/mysql -v /home/ralph/.ralph busybox /bin/sh -c "chown default /home/ralph; chown default /home/ralph/.ralph"

should be:
docker run -i -t --name="mysql_data" -v /var/lib/mysql -v /home/ralph/.ralph busybox /bin/sh -c "chown default /home/ralph; chown default /home/ralph/.ralph"

For everything else, good job :)

koren
2 years ago

Hi, Allegro.

First of all, many thanks for your excellent work!
Is there any chance of having docker image for Ralph-ng (version 3+)? We would greatly appreciate to try it out before we put Ralph into consideration. The installation along with sample data is a great help in understanding, how you have made it.

Thank you
Jan