mirror of
https://github.com/Horhik/Instagram2Fedi.git
synced 2024-11-21 16:11:26 +00:00
Add USE_KUBERNETES
This commit is contained in:
parent
16c76af0c0
commit
4a0de99672
|
@ -39,6 +39,8 @@ if verbose:
|
|||
agree = [1, True, "true", "True", "yes", "Yes"]
|
||||
if (os.environ.get("USE_DOCKER")):
|
||||
id_filename = "/app/already_posted.txt"
|
||||
elif (os.environ.get("USE_KUBERNETES")):
|
||||
id_filename = "/data/already_posted.txt"
|
||||
else:
|
||||
id_filename = "./already_posted.txt"
|
||||
|
||||
|
|
Loading…
Reference in a new issue