Added log rotation for prod config (#32)

This commit is contained in:
Kieran
2024-02-21 18:01:18 -08:00
committed by GitHub
parent 3efc533fb7
commit 610acb15f1
3 changed files with 20 additions and 3 deletions
+2 -3
View File
@@ -96,12 +96,11 @@ RUN chown nobody /app
# Set up data volumes
RUN mkdir /config /downloads
RUN chown nobody /config /downloads
VOLUME /config
VOLUME /downloads
# set runner ENV
ENV MIX_ENV="prod"
ENV DATABASE_PATH="/config/pinchflat.db"
ENV DATABASE_PATH="/config/db/pinchflat.db"
ENV LOG_PATH="/config/logs/pinchflat.log"
ENV PORT=8945
ENV RUN_CONTEXT="selfhosted"