Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
deprecate the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tifayuki committed Apr 3, 2017
1 parent 7bdaeec commit ed6d9fe
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 575 deletions.
27 changes: 0 additions & 27 deletions Dockerfile

This file was deleted.

62 changes: 3 additions & 59 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,8 @@
tutum-docker-riak
=================

Base docker image to run a riak database server
This repo is deprecated: we are not going to maintain it anymore.

You can visit [Docker Store](https://store.docker.com) to explore similar images.

Usage
-----

To create the image `tutum/riak`, execute the following command on the tutum-riak folder:

docker build -t tutum/riak .


Running the riak server
--------------------------

Run the following command to start riak:

docker run -d -p 8087:8087 -p 8098:8098 tutum/riak

The first time that you run your container, a new random password will be set.
To get the password, check the logs of the container by running:

docker logs <CONTAINER_ID>

You will see an output like the following:

========================================================================
You can now use riak Server using:
wget --no-check-certificate -qO- https://riakuser:FVPNf35hXeXG@host:port/ping
Or use protocol buffer with same user/password.
Please remember to change the above password as soon as possible!
You must use https protocol. http is disable for security reasons
========================================================================

In this case, `FVPNf35hXeXG` is the password set.
You can then connect to riak (using API):

wget --no-check-certificate -qO- https://riakuser:FVPNf35hXeXG@host:port/

Done!


Setting a specific password for the riakuser account
-------------------------------------------------

If you want to use a preset password instead of a randomly generated one, you can
set the environment variable `RIAK_PASS` to your specific password when running the container:

docker run -d -p 8087:8087 -p 8098:8098 -e RIAK_PASS="mypass" tutum/riak

You can now test your new admin password:

wget --no-check-certificate -qO- https://riakuser:mypass@host:port/

Using riak with Protocol Buffers
--------------------------------

Remember that you can use Protocol Buffer to connect riak. You must use same user and password
that it's generated random (or set in ENV) but using Protocol Buffer port 8087.
To access the last commit of the code, please switch to [master branch](https://github.com/tutumcloud/riak/tree/master).
Loading

0 comments on commit ed6d9fe

Please sign in to comment.