Compare commits

...

2 Commits

Author SHA1 Message Date
Ninluc 5a737c931c Debug with global config variable
Build, push image, and notify Watchtower / build-image (push) Successful in 37s
Build, push image, and notify Watchtower / notify (push) Successful in 8s
2026-07-23 17:06:17 +02:00
Ninluc 181a395b4d Removed debug dependencies 2026-07-23 17:06:03 +02:00
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ FROM python:3.11-slim
WORKDIR /cloud
# DEBUG
RUN apt update && apt install -y dnsutils iputils-ping
# RUN apt update && apt install -y dnsutils iputils-ping
# Copy the requirements file and install dependencies
COPY cloud/requirements.txt .
+2 -1
View File
@@ -4,6 +4,7 @@ import uuid
from flask import Flask, request, jsonify
from pymongo import MongoClient
from tools.aichat import generate
from shared import config
app = Flask(__name__)
@@ -95,4 +96,4 @@ def device_network():
if __name__ == "__main__":
app.run(debug=True)
app.run(debug=config.DEBUG)
@@ -15,8 +15,9 @@
import time,sys
import RPi.GPIO as GPIO
import smbus
from shared import config
debug = 0
debug = config.DEBUG
# use the bus that matches your raspi version
rev = GPIO.RPI_REVISION
if rev == 2 or rev == 3: