From d6232b4b288e8dfcee6993b4d2549294db8d8b14 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 3 Jun 2018 14:47:55 -0400 Subject: [PATCH] Update the docker image entrypoint Pythonpath to use the top level media root folder. Signed-off-by: Roberto Rosario --- docker/entrypoint.sh | 2 +- docs/topics/docker.rst | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 55df42cc57..c457fc049c 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -19,7 +19,7 @@ export MAYAN_MEDIA_ROOT=/var/lib/mayan export MAYAN_SETTINGS_FILE=${MAYAN_SETTINGS_FILE:-mayan.settings.production} export CELERY_ALWAYS_EAGER=False -export PYTHONPATH=$PYTHONPATH:$MAYAN_MEDIA_ROOT/settings +export PYTHONPATH=$PYTHONPATH:$MAYAN_MEDIA_ROOT chown mayan:mayan /var/lib/mayan -R diff --git a/docs/topics/docker.rst b/docs/topics/docker.rst index 2ba3fd5434..98b1c5a04a 100644 --- a/docs/topics/docker.rst +++ b/docs/topics/docker.rst @@ -275,3 +275,13 @@ These are: - mayan_broker - The broker volume, in this case RabbitMQ. - mayan_db - The database volume, in this case Postgres. - mayan_results - The celery result backend volume, in this case Redis. + + +Nightly images +============== +The continious integration pipeline used for testing development builds also +produces a resulting Docker image. These are build automatically and their +stability is not guaranteed. They should never be used in production. +If you want to try out the Docker images the development uses or want a sneak +peek at the new features being worked on checkout the container registry at: +https://gitlab.com/mayan-edms/mayan-edms/container_registry