Compare commits
3 Commits
3f1c6960bf
...
b212f58e48
| Author | SHA1 | Date | |
|---|---|---|---|
| b212f58e48 | |||
| 06c2795032 | |||
| c097b7ed63 |
@@ -1,33 +1,13 @@
|
||||
version: '3'
|
||||
version: '3'
|
||||
services:
|
||||
homeassistant:
|
||||
container_name: homeassistant
|
||||
build: .
|
||||
#image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable"
|
||||
app:
|
||||
image: "homeassistant/home-assistant"
|
||||
volumes:
|
||||
- config_data:/config
|
||||
- app_config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
ports:
|
||||
- '10000:80'
|
||||
networks:
|
||||
network:
|
||||
ipv4_address: 192.168.1.252
|
||||
# network_mode: host
|
||||
# networks:
|
||||
# lms_bridge:
|
||||
# pihole_bridge:
|
||||
- '80:80'
|
||||
volumes:
|
||||
config_data:
|
||||
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
|
||||
|
||||
app_config:
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
FROM ghcr.io/home-assistant/raspberrypi4-homeassistant:stable
|
||||
RUN apk update&& \
|
||||
apk add --update --no-cache sudo bash
|
||||
EXPOSE 22
|
||||
|
||||
|
||||
Reference in New Issue
Block a user