services: invraw: build: . container_name: invraw restart: unless-stopped ports: - "5279:5279" # inverter TCP (même port que Grott — arrêter Grott avant) environment: - GROWATT_HOST=server.growatt.com - GROWATT_PORT=5279 - LISTEN_PORT=5279 - WEB_PORT=8080 - MAX_PACKETS=500 - MQTT_HOST=mosquitto - MQTT_PORT=1883 - MQTT_ENABLED=true - HA_DISCOVERY=true - DEVICE_NAMES=JNK1CM70FU:JNK1CM70FU_EST,JNK1CM70H5:JNK1CM70H5_SUD networks: - proxy labels: - "traefik.enable=true" - "traefik.http.routers.invraw.entrypoints=websecure" - "traefik.http.routers.invraw.rule=Host(`invraw.nas.percolouco.com`)" - "traefik.http.routers.invraw.tls.certresolver=letsencrypt" - "traefik.http.services.invraw.loadbalancer.server.port=8080" networks: proxy: external: true