change restart policy and use host from env

This commit is contained in:
2026-01-30 09:39:00 +01:00
parent 0ad6ac0a70
commit 641dc70b87

View File

@@ -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}"