mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
9 lines
163 B
Python
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"
|