2016-12-26 11:59:58 +08:00
|
|
|
FROM rethinkdb:latest
|
|
|
|
|
2018-03-16 21:09:15 +08:00
|
|
|
LABEL maintainer="Cristian Mello <cristianc.mello@gmail.com>"
|
2016-12-26 11:59:58 +08:00
|
|
|
|
|
|
|
VOLUME /data/rethinkdb_data
|
|
|
|
|
2019-02-09 19:26:50 +08:00
|
|
|
#Necessary for the backup rethinkdb
|
|
|
|
RUN apt-get -y update \
|
|
|
|
&& apt-get -y upgrade \
|
|
|
|
&& apt-get -y install python-pip \
|
|
|
|
&& pip install rethinkdb \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2016-12-26 11:59:58 +08:00
|
|
|
RUN cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
|
|
|
|
|
|
|
|
CMD ["rethinkdb", "--bind", "all"]
|
|
|
|
|
|
|
|
EXPOSE 8080
|