Commit ede171eb authored by Gezer's avatar Gezer
Browse files

we still need to modify the docker files

so that we can start the project from their
parent 310045b9
Showing with 17 additions and 7 deletions
+17 -7
version: '3.9'
services:
mqtt-backend:
image: mqtt-influx-backend
container_name: mqtt-backend
build: ./mqtt
command: uv run -m mqtt_influx_backend.main
env_file:
- mqtt/.env
restart: unless-stopped
#depends_on:
# - influxdb
# - mosquitto
backend:
build: ./backend
ports:
......
......@@ -9,11 +9,8 @@ COPY . .
# uv installieren
RUN pip install uv
# Abhängigkeiten aus pyproject.toml installieren
RUN uv pip install --editable . --no-cache-dir
# PYTHONPATH setzen, damit das Import-Modul korrekt ist
ENV PYTHONPATH=src
# Installiere Abhängigkeiten aus pyproject.toml
RUN uv pip install . --no-cache-dir --system
# Startkommando
CMD ["uv", "run", "-m", "mqtt_influx_backend.main"]
......@@ -4,5 +4,6 @@
"77:88:99:AA:BB:CC": "Schlafzimmer",
"DE:AD:BE:EF:12:34": "",
"DK:AD:BE:EF:12:34": "",
"EK:AD:BE:EF:12:34": ""
"EK:AD:BE:EF:12:34": "",
"lK:AD:BE:EF:12:34": ""
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment