change restart policy and use host from env
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user