From 65314d9fd362b14a641675382eb8379670fea979 Mon Sep 17 00:00:00 2001 From: Emre Gezer <21geem1bif@hft-stuttgart.de> Date: Sun, 20 Apr 2025 10:25:01 +0200 Subject: [PATCH] modified docker-compose.yaml --- docker-compose.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..a990abe --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,30 @@ + +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: + - "8000:8000" + volumes: + - ./backend:/app + + frontend: + build: ./frontend + ports: + - "5173:5173" + volumes: + - ./frontend:/app + stdin_open: true + tty: true -- GitLab