Lock down some settings for Docker container

This commit is contained in:
JonnyWong16 2018-10-06 14:19:01 -07:00
parent 6bb6e27378
commit a976d65e9c
4 changed files with 33 additions and 20 deletions

View file

@ -106,6 +106,9 @@ def main():
logger.initLogger(console=not plexpy.QUIET, log_dir=False,
verbose=plexpy.VERBOSE)
if os.getenv('TAUTULLI_DOCKER', False) == 'True':
plexpy.DOCKER = True
if args.dev:
plexpy.DEV = True
logger.debug(u"Tautulli is running in the dev environment.")