Skip to content

Commit d672db1

Browse files
🐛 Add default paperless environemental variables on the image build (#197)
1 parent cd37a8a commit d672db1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

paperless-ngx/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ RUN set -eux \
224224
&& gosu paperless python3 manage.py compilemessages
225225

226226
ENV PAPERLESS_REDIS="redis://localhost:6379"
227+
ENV PAPERLESS_DATA_DIR="/config/data"
228+
ENV PAPERLESS_MEDIA_ROOT="/share/paperless/media"
227229
RUN sed -i "s/bind .*/bind 127.0.0.1/g" /etc/redis/redis.conf
228230

229231
VOLUME ["/usr/src/paperless/data", \

0 commit comments

Comments
 (0)