marcio.fernandes-patch-1 #2
@@ -1,33 +1,13 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
version: '3'
|
||||||
services:
|
services:
|
||||||
homeassistant:
|
app:
|
||||||
container_name: homeassistant
|
image: "homeassistant/home-assistant"
|
||||||
build: .
|
|
||||||
#image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable"
|
|
||||||
volumes:
|
volumes:
|
||||||
- config_data:/config
|
- app_config:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
privileged: true
|
|
||||||
ports:
|
ports:
|
||||||
- '10000:80'
|
- '80:80'
|
||||||
networks:
|
|
||||||
network:
|
|
||||||
ipv4_address: 192.168.1.252
|
|
||||||
# network_mode: host
|
|
||||||
# networks:
|
|
||||||
# lms_bridge:
|
|
||||||
# pihole_bridge:
|
|
||||||
volumes:
|
volumes:
|
||||||
config_data:
|
app_config:
|
||||||
name: homeassistant_config
|
|
||||||
driver: local
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=192.168.1.251,rw
|
|
||||||
device: ":/export/docker-volumes/home_assistant/config"
|
|
||||||
networks:
|
|
||||||
network:
|
|
||||||
external: true
|
|
||||||
name: macvlan_pub_net
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user