Skip to content

Commit

Permalink
Re #2773
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon committed Nov 10, 2024
1 parent 4bda1a2 commit 51509fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changedetectionio/flask_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ def highlight_submit_ignore_url():
threading.Thread(target=notification_runner).start()

# Check for new release version, but not when running in test/build or pytest
if not os.getenv("GITHUB_REF", False) and not config.get('disable_checkver') == True:
if not os.getenv("GITHUB_REF", False) and not strtobool(os.getenv('DISABLE_VERSION_CHECK', 'no')):
threading.Thread(target=check_for_new_version).start()

return app
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ services:
#
# If you want to watch local files file:///path/to/file.txt (careful! security implications!)
# - ALLOW_FILE_URI=False
#
# For complete privacy if you don't want to use the 'check version' / telemetry service
# - DISABLE_VERSION_CHECK=true

# Comment out ports: when using behind a reverse proxy , enable networks: etc.
ports:
Expand Down

0 comments on commit 51509fa

Please sign in to comment.