added new tix home built python server for work ticket trends, added music assistant (mass) as a seperate container, used traefik to route hass again and put esphome and mass as URLs off hass.depaoli.id.au
This commit is contained in:
@@ -402,7 +402,7 @@ services:
|
|||||||
image: homeassistant/home-assistant
|
image: homeassistant/home-assistant
|
||||||
container_name: hass
|
container_name: hass
|
||||||
privileged: true
|
privileged: true
|
||||||
network_mode: host
|
# network_mode: host
|
||||||
restart: always
|
restart: always
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined
|
- seccomp:unconfined
|
||||||
@@ -411,23 +411,45 @@ services:
|
|||||||
- openldap
|
- openldap
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/docker/container/hass:/config
|
- /srv/docker/container/hass:/config
|
||||||
- /export/docker/storage/music/:/music
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
|
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /run/dbus:/run/dbus:ro
|
- /run/dbus:/run/dbus:ro
|
||||||
labels:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.enable=false"
|
- "com.centurylinklabs.watchtower.enable=false"
|
||||||
# - "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
# - "traefik.http.routers.hass.rule=Host(`hass.depaoli.id.au`)"
|
- "traefik.http.routers.hass.rule=Host(`hass.depaoli.id.au`)"
|
||||||
# - "traefik.http.routers.hass.tls=true"
|
- "traefik.http.routers.hass.tls=true"
|
||||||
|
- "traefik.http.services.hass.loadbalancer.server.port=8123"
|
||||||
|
- "traefik.http.routers.hass.entrypoints=secureweb"
|
||||||
# - "traefik.http.routers.hass.tls.options=tls12@file"
|
# - "traefik.http.routers.hass.tls.options=tls12@file"
|
||||||
# - "traefik.http.services.hass.loadbalancer.server.port=8123"
|
# 8123 == main port, 3610???
|
||||||
# - "traefik.http.routers.hass.entrypoints=secureweb"
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
- "3610:3610/udp"
|
||||||
|
|
||||||
|
mass:
|
||||||
|
image: ghcr.io/music-assistant/server
|
||||||
|
container_name: mass
|
||||||
|
restart: always
|
||||||
|
network_mode: host
|
||||||
|
depends_on:
|
||||||
|
- pihole
|
||||||
|
volumes:
|
||||||
|
- /srv/docker/container/mass/data:/data
|
||||||
|
- /export/docker/storage/music:/music
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.mass.rule=Host(`hass.depaoli.id.au`) && PathPrefix(`/mass/`)"
|
||||||
|
- "traefik.http.routers.mass.tls=true"
|
||||||
|
- "traefik.http.routers.mass.entrypoints=secureweb"
|
||||||
|
- "traefik.http.middlewares.stripprefix-mass.stripprefix.prefixes=/mass"
|
||||||
|
- "traefik.http.routers.mass.middlewares=stripprefix-mass@docker"
|
||||||
|
- "traefik.http.services.mass.loadbalancer.server.port=8095"
|
||||||
# ports:
|
# ports:
|
||||||
# - "8095:8095"
|
# - "8095:8095"
|
||||||
# - "8123:8123"
|
|
||||||
# - "3610:3610/udp"
|
|
||||||
|
|
||||||
mosquitto:
|
mosquitto:
|
||||||
container_name: mosquitto
|
container_name: mosquitto
|
||||||
@@ -451,9 +473,18 @@ services:
|
|||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
labels:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.enable=true"
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
- "traefik.enable=true"
|
||||||
|
# - "traefik.http.routers.esphome.rule=Host(`mara.ddp.net`) && PathPrefix(`/esphome/`)"
|
||||||
|
- "traefik.http.routers.esphome.rule=Host(`hass.depaoli.id.au`) && PathPrefix(`/esphome/`)"
|
||||||
|
- "traefik.http.routers.esphome.tls=true"
|
||||||
|
- "traefik.http.routers.esphome.entrypoints=secureweb"
|
||||||
|
- "traefik.http.middlewares.stripprefix-esphome.stripprefix.prefixes=/esphome"
|
||||||
|
- "traefik.http.routers.esphome.middlewares=stripprefix-esphome@docker"
|
||||||
restart: always
|
restart: always
|
||||||
privileged: true
|
privileged: true
|
||||||
network_mode: host
|
# network_mode: host
|
||||||
|
ports:
|
||||||
|
- "6052:6052"
|
||||||
|
|
||||||
sabnzbd:
|
sabnzbd:
|
||||||
image: linuxserver/sabnzbd
|
image: linuxserver/sabnzbd
|
||||||
@@ -740,6 +771,25 @@ services:
|
|||||||
- "traefik.tcp.routers.paweb-tcp.tls.passthrough=true"
|
- "traefik.tcp.routers.paweb-tcp.tls.passthrough=true"
|
||||||
- "traefik.tcp.routers.paweb-tcp.entrypoints=secureweb"
|
- "traefik.tcp.routers.paweb-tcp.entrypoints=secureweb"
|
||||||
|
|
||||||
|
tix:
|
||||||
|
container_name: tix
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: '/home/ddp/src/snow-ticket-analysis'
|
||||||
|
args:
|
||||||
|
PJM_UID: 500
|
||||||
|
PJM_GID: 500
|
||||||
|
volumes:
|
||||||
|
- /srv/docker/container/letsencrypt/etc:/etc/letsencrypt
|
||||||
|
- /srv/docker/container/tix/stats.db:/stats.db
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=false"
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.tcp.routers.tix-tcp.rule=HostSNI(`tix.depaoli.id.au`)"
|
||||||
|
- "traefik.tcp.routers.tix-tcp.tls.passthrough=true"
|
||||||
|
- "traefik.tcp.routers.tix-tcp.entrypoints=secureweb"
|
||||||
|
|
||||||
vaultwarden:
|
vaultwarden:
|
||||||
container_name: bitwarden
|
container_name: bitwarden
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user