From 86bfc0a6ca2874bb4b88bd933bec2d89356cd0e1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 May 2022 14:46:43 +0200 Subject: [PATCH] Set custom images and events directories --- zoneminder/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zoneminder/Dockerfile b/zoneminder/Dockerfile index 74aab797c..9ba3ce300 100644 --- a/zoneminder/Dockerfile +++ b/zoneminder/Dockerfile @@ -25,6 +25,8 @@ FROM tritruongtr/zoneminder:latest # Global variables ENV DZM_CONFIG_DIR="/config/addons_config/zoneminder" +ENV DIR_IMAGES="/var/cache/zoneminder/images2" +ENV ZM_DIR_EVENTS="/var/cache/zoneminder/events2" # Change config location # hadolint ignore=DL4006