diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a990abe24749d2145408d83fa0d0a6f8f220549e --- /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