Skip to content

Commit

Permalink
chore: update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
drunest committed Sep 10, 2024
1 parent c9324bc commit ec0e03e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/auto_validator/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
root = environ.Path(__file__) - 2

env = environ.Env(DEBUG=(bool, False))
environ.Env.read_env()

# .env file contents are not passed to docker image during build stage;
# this results in errors if you require some env var to be set, as if in "env('MYVAR')" -
Expand Down Expand Up @@ -406,4 +407,7 @@ def configure_structlog():
"SUBNETS_GITHUB_URL", default="https://raw.githubusercontent.com/taostat/subnets-infos/main/subnets.json"
)

LINODE_API_KEY = ""
LINODE_API_KEY = env("LINODE_API_KEY", default="")
PAPERSPACE_API_KEY = env("PAPERSPACE_API_KEY", default="")

SIGNATURE_EXPIRE_DURATION = env("SIGNATURE_EXPIRE_DURATION", default="300")

0 comments on commit ec0e03e

Please sign in to comment.