Docker image, & local development docker-compose.yml #2
@ -30,7 +30,7 @@ class StdoutMockFlaskMail:
|
||||
load_dotenv(find_dotenv())
|
||||
|
||||
for var_name in [
|
||||
"SPOKE_HOST_TOKEN", "HUB_TOKEN", "STRIPE_PUBLISHABLE_KEY",
|
||||
"SPOKE_HOST_TOKEN", "HUB_TOKEN", "STRIPE_SECRET_KEY",
|
||||
"BTCPAY_PRIVATE_KEY", "MAIL_PASSWORD"
|
||||
]:
|
||||
var = os.environ.get(f"{var_name}_FILE", False)
|
||||
3wordchant marked this conversation as resolved
Outdated
|
||||
|
Loading…
Reference in New Issue
Block a user
Optional:
var = os.environ.get(f"{var_name}_FILE")
also works as it defaults toNone
if missing.