Skip to content

Commit 99f7e65

Browse files
miguelortizdevbestlong
authored andcommitted
Backup Rethikdb (laradock#1937)
- You requiere run python-pip for backing up your data
1 parent e0dc683 commit 99f7e65

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

DOCUMENTATION/content/documentation/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,9 @@ docker-compose up -d rethinkdb
10181018
- set the `DB_DATABASE` to `database`.
10191019

10201020

1021+
#### Additional Notes
10211022

1022-
1023+
- You may do backing up of your data using the next reference: [backing up your data](https://www.rethinkdb.com/docs/backup/).
10231024

10241025

10251026
<br>

rethinkdb/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ LABEL maintainer="Cristian Mello <cristianc.mello@gmail.com>"
44

55
VOLUME /data/rethinkdb_data
66

7+
#Necessary for the backup rethinkdb
8+
RUN apt-get -y update \
9+
&& apt-get -y upgrade \
10+
&& apt-get -y install python-pip \
11+
&& pip install rethinkdb \
12+
&& rm -rf /var/lib/apt/lists/*
13+
714
RUN cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
815

916
CMD ["rethinkdb", "--bind", "all"]

0 commit comments

Comments
 (0)