Misc. CICD fixes
Build, push image, and notify Watchtower / build-image (push) Failing after 55s
Build, push image, and notify Watchtower / notify (push) Has been skipped

This commit is contained in:
2026-07-16 17:16:35 +02:00
parent d7889a7bbc
commit 4a3c4b8c96
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ app = Flask(__name__)
# ---------------------------------------------------------
# Configure MongoDB connection (adjust the URI as needed for your environment)
client = MongoClient("mongodb://localhost:27017/")
MONGO_URI = os.getenv("MONGO_URI", "mongodb://localhost:27017/")
client = MongoClient(MONGO_URI)
db = client["microwave_network_db"]
cooking_collection = db["cooking_parameters"]
device_network_collection = db["device_network"]