Public | Automated Build

Last pushed: 2 years ago
Short Description
Inofficial docker container for the famous HabitRPG habit tracker app.
Full Description

HabitRPG - Docker Container

Building

docker build -t uvwxy/habitrpg .

Setup MongoDB

First, run a MongoDB instance in the background:

docker run --name habitrpg-mongo -d mongo

Run HabitRPG

Important keep the linkname consistent with the name of the MongoDB container above. Also the alias dbis used in the config.json as the hostname.

Start the HabitRPG container and link it with the MongoDB node habitrpg-mongo.

docker run --name habitrpg --link habitrpg-mongo:db -p 3000:3000 -d uvwxy/habitrpg
Docker Pull Command
Owner
uvwxy
Source Repository

Comments (1)
rahulgr8888
2 years ago

Hey there is another dockerfile in their github repo
https://raw.githubusercontent.com/HabitRPG/habitrpg/develop/Dockerfile
which one should we use?