Skip to content

Commit a8576f4

Browse files
committed
Adding a rethinkdb example
1 parent a7dab89 commit a8576f4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

rethinkdb.docker

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Install a rethinkdb node. The node will be accessible via HTTP on port 8100. The port can be changed.
2+
3+
FROM ubuntu
4+
MAINTAINER Kimbro Staken "[email protected]"
5+
6+
RUN apt-get update
7+
RUN apt-get install -y python-software-properties python
8+
RUN add-apt-repository ppa:rethinkdb/ppa
9+
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
10+
RUN apt-get update
11+
RUN apt-get install -y rethinkdb
12+
13+
EXPOSE 8100:8100
14+
15+
CMD ["rethinkdb", "--bind", "all", "--http-port", "8100"]

0 commit comments

Comments
 (0)