Skip to content

Commit

Permalink
[cleanup]
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez committed Feb 3, 2025
1 parent fc03bdd commit d069bb7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@

load_dotenv()



# Configure environment variables to disable TLS.
os.environ["DOCKER_HOST"] = "unix:///var/run/docker.sock"
os.environ["DOCKER_TLS_VERIFY"] = "0"
os.environ.pop("DOCKER_CERT_PATH", None) # Remove if present

if "DOCKER_CERT_PATH" in os.environ:
del os.environ["DOCKER_CERT_PATH"]

# ------------------------------------------------------------------------------
# Kubernetes Functions (Using our earlier code as building blocks)
Expand Down

0 comments on commit d069bb7

Please sign in to comment.