freqtrade_origin/freqtrade/configuration/detect_environment.py
2024-05-13 07:10:25 +02:00

9 lines
163 B
Python

import os
def running_in_docker() -> bool:
"""
Check if we are running in a docker container
"""
return os.environ.get("FT_APP_ENV") == "docker"