From 641dc70b87be867c633a1abdf16d1288bf8ad843 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Fri, 30 Jan 2026 09:39:00 +0100 Subject: [PATCH] change restart policy and use host from env --- compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 8ef4c0e..9abc375 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,11 +5,11 @@ services: dockerfile: Dockerfile image: goodwe container_name: goodwe - restart: always + restart: unless-stopped env_file: - .env volumes: - ./src:/app/src:ro network_mode: host extra_hosts: - - host:192.168.2.150 + - "host:${HOST_IP}"