module: add logrotate
diff --git a/module/compose/scheme.sh b/module/compose/scheme.sh
index e134384..8c5370e 100644
--- a/module/compose/scheme.sh
+++ b/module/compose/scheme.sh
@@ -179,7 +179,19 @@
- ${_APACHE_DKRC_WWW_D_}:/rootfs/var/www
- ${_GERRIT_DKRC_HOOKS_D_}:/rootfs/hooks
- ${_GERRIT_DKRC_ETC_D_}:/rootfs/etc
-${compose_openssh_has_mount_media}"
+${compose_openssh_has_mount_media}
+ ${_LOGROTATE_DKRC_SERVICE_}:
+ environment:
+ - LOGROTATE_CRON=${_LOGROTATE_CRON_}
+ - LOGROTATE_CROND_LEVEL=${_LOGROTATE_CROND_LEVEL_}
+ image: ${_LOGROTATE_DKRC_IMAGE_}
+ build:
+ context: ${_LOGROTATE_DKRC_CONTEXT_}
+ dockerfile: ${_LOGROTATE_DKRC_DOCKERFILE_}
+ container_name: ${_LOGROTATE_DKRC_CONTAINER_}
+ volumes:
+ - ${_LOGROTATE_LOG_D_}:${_LOGROTATE_LOG_CON_D_}
+ - ${_LOGROTATE_CONF_F_}:${_LOGROTATE_CONF_CON_F_}:ro"
declare -r environment_t="\
MYSQL_DATABASE=${_MYSQL_DB_NAME_}