First real commit
Some checks failed
Build, Push, and Deploy to Nomad / docker-nomad (push) Failing after 1m5s

This commit is contained in:
Henrik Jess
2024-12-10 15:16:17 +01:00
parent c5c7b99caa
commit a5a155f238
7 changed files with 144 additions and 8 deletions

11
app.py Normal file
View File

@@ -0,0 +1,11 @@
from fastapi import FastAPI
from dotenv import load_dotenv
import os
load_dotenv()
app = FastAPI(title=os.getenv("APP_NAME", "Default App"))
@app.get("/")
def read_root():
return {"debug": os.getenv("DEBUG", "false")}