removed homeassistant
This commit is contained in:
29
compose/drawio/compose.yaml
Normal file
29
compose/drawio/compose.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: "3.5"
|
||||
services:
|
||||
drawio:
|
||||
image: jgraph/drawio
|
||||
container_name: drawio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8087:8080
|
||||
- 8447:8443
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- curl -f http://127.0.0.1:8080 || exit 1
|
||||
interval: 1m30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
labels:
|
||||
- homepage.group=Apps
|
||||
- homepage.name=draw.io
|
||||
- homepage.icon=mdi-pencil
|
||||
- homepage.description=Draw.IO Graphing (esh)
|
||||
- homepage.href=http://10.0.50.45:8087
|
||||
networks:
|
||||
- tnet
|
||||
networks:
|
||||
tnet:
|
||||
name: traefik-net
|
||||
external: true
|
||||
@@ -1,15 +1,16 @@
|
||||
services:
|
||||
homeassistant:
|
||||
image: lscr.io/linuxserver/homeassistant:latest
|
||||
image: homeassistant/home-assistant:latest
|
||||
container_name: homeassistant
|
||||
environment:
|
||||
- PUID=2000
|
||||
- PGID=2000
|
||||
- TZ=America/Los_Angeles
|
||||
volumes:
|
||||
- /opt/docker/conf/homeassistant:/config
|
||||
- homeassistant_data:/config
|
||||
#- /opt/docker/conf/homeassistant:/config
|
||||
ports:
|
||||
- 80:8123 #optional
|
||||
- 8123:8123 #optional
|
||||
# devices:
|
||||
# - /path/to/device:/path/to/device #optional
|
||||
restart: unless-stopped
|
||||
@@ -20,11 +21,11 @@ services:
|
||||
- homepage.name=Home Assistant
|
||||
- homepage.icon=si-homeassistant
|
||||
- homepage.description=Home Automation (esh)
|
||||
- homepage.href=http://10.0.50.46
|
||||
- homepage.href=http://10.0.50.45:8123
|
||||
networks:
|
||||
macvlan-net:
|
||||
ipv4_address: 10.0.50.46
|
||||
- traefik-net
|
||||
networks:
|
||||
macvlan-net:
|
||||
traefik-net:
|
||||
external: true
|
||||
name: macvlan-net
|
||||
volumes:
|
||||
homeassistant_data: null
|
||||
|
||||
@@ -16,10 +16,12 @@ services:
|
||||
- tnet
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.homepage.rule=host(`eshhome`) ||
|
||||
host(`10.0.50.45`) || host (`eshhome.esteban.net`)
|
||||
- traefik.http.routers.homepage.rule=host(`eshhome`) || host(`10.0.50.45`)
|
||||
|| host (`eshhome.esteban.net`)
|
||||
- traefik.http.services.homepage.loadbalancer.server.port=3000
|
||||
- traefik.http.routers.homepage.priority=1
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
tnet:
|
||||
name: traefik-net
|
||||
|
||||
Reference in New Issue
Block a user