Backup Rethikdb (#1937)

- You requiere run python-pip for backing up your data
This commit is contained in:
Miguel Ortiz authored and Shao Yu-Lung (Allen) committed 2019-02-09 19:26:50 +08:00
1 parent e0dc683d3f
commit 99f7e65c99
2 files changed
+9 -1

No files matched your search

+7
View File
@@ -4,6 +4,13 @@ LABEL maintainer="Cristian Mello <cristianc.mello@gmail.com>"
VOLUME /data/rethinkdb_data
#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/*
RUN cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
CMD ["rethinkdb", "--bind", "all"]