mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-11 10:43:56 +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'
|