From 9288aa5857f52198e1564837a0ebf882e34b575c Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 21 Jul 2023 20:21:04 -0400 Subject: [PATCH] new dummy config --- src/config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/config.py diff --git a/src/config.py b/src/config.py new file mode 100644 index 0000000..a63f363 --- /dev/null +++ b/src/config.py @@ -0,0 +1,10 @@ +import os + +api_secret = os.environ.get("GANDI_API_SECRET", "TOKEN") +api_endpoint = os.environ.get("GANDI_API_ENDPOINT",'https://dns.api.gandi.net/api/v5') + +static_ip = os.environ.get("GANDI_STATIC_IP","") +domain = os.environ.get("GANDI_DOMAIN","") +subdomains = os.environ.get("GANDI_SUBDOMAINS","").split(",") +ttl = os.environ.get("GANDI_TIMEOUT","300") +ifconfig = os.environ.get("GANDI_IFCONFIG","https://ifconfig.co/ip")