6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-05 12:57:52 +00:00

Declare volumes in open edx image

Volumes were used, but not declared. Consequently, data could not be
persisted e.g on kubernetes.

Close #48.
This commit is contained in:
Régis Behmo 2018-08-22 16:29:04 +02:00
parent 564a419ec0
commit bc5829e929

View File

@ -45,6 +45,9 @@ RUN ln -s /openedx/config/lms.env.json /openedx/ \
&& ln -s /openedx/config/lms.auth.json /openedx/ \
&& ln -s /openedx/config/cms.auth.json /openedx/
VOLUME /openedx/config
VOLUME /openedx/data
# Dockerize will be useful to wait for mysql DB availability
ENV DOCKERIZE_VERSION v0.6.1
RUN curl -L -o dockerize.tar.gz https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \