mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 00:06:07 -07:00
Add advanced setting to disable docker mount check
This commit is contained in:
parent
f4073c30ac
commit
a49175b3b1
4 changed files with 4 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<%def name="body()">
|
<%def name="body()">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
% if plexpy.DOCKER and not plexpy.DOCKER_MOUNT:
|
% if plexpy.CONFIG.CHECK_DOCKER_MOUNT and plexpy.DOCKER and not plexpy.DOCKER_MOUNT:
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-danger docker-mount" role="alert">
|
<div class="alert alert-danger docker-mount" role="alert">
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
% if plexpy.DOCKER and not plexpy.DOCKER_MOUNT:
|
% if plexpy.CONFIG.CHECK_DOCKER_MOUNT and plexpy.DOCKER and not plexpy.DOCKER_MOUNT:
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="alert alert-danger docker-mount" role="alert" style="width: 700px;">
|
<div class="alert alert-danger docker-mount" role="alert" style="width: 700px;">
|
||||||
|
|
|
@ -252,7 +252,7 @@ def initialize(config_file):
|
||||||
DB_FILE
|
DB_FILE
|
||||||
))
|
))
|
||||||
|
|
||||||
if DOCKER and not DOCKER_MOUNT:
|
if CONFIG.CHECK_DOCKER_MOUNT and DOCKER and not DOCKER_MOUNT:
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"Docker /config volume not mounted. Using a Docker volume instead. "
|
"Docker /config volume not mounted. Using a Docker volume instead. "
|
||||||
"All data may be cleared when the container is recreated or updated."
|
"All data may be cleared when the container is recreated or updated."
|
||||||
|
|
|
@ -87,6 +87,7 @@ _CONFIG_DEFINITIONS = {
|
||||||
'CACHE_DIR': (str, 'General', ''),
|
'CACHE_DIR': (str, 'General', ''),
|
||||||
'CACHE_IMAGES': (int, 'General', 1),
|
'CACHE_IMAGES': (int, 'General', 1),
|
||||||
'CACHE_SIZEMB': (int, 'Advanced', 32),
|
'CACHE_SIZEMB': (int, 'Advanced', 32),
|
||||||
|
'CHECK_DOCKER_MOUNT': (int, 'Advanced', 1),
|
||||||
'CHECK_GITHUB': (int, 'General', 1),
|
'CHECK_GITHUB': (int, 'General', 1),
|
||||||
'CHECK_GITHUB_INTERVAL': (int, 'General', 360),
|
'CHECK_GITHUB_INTERVAL': (int, 'General', 360),
|
||||||
'CHECK_GITHUB_ON_STARTUP': (int, 'General', 1),
|
'CHECK_GITHUB_ON_STARTUP': (int, 'General', 1),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue