Skip to content

Commit

Permalink
Pass DOMAIN env variable inside docker
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Mar 5, 2024
1 parent 5611cd1 commit ad6e42f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion application.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ async def lifespan(app: FastAPI) -> AsyncGenerator: # type: ignore
scheduler.start()

host = environ.get("DOMAIN", "127.0.0.1")
print(f"{host=}")

if host != "127.0.0.1":
full_chain = f"/letsencrypt/live/{host}/fullchain.pem"
Expand Down

0 comments on commit ad6e42f

Please sign in to comment.