replaced heimdall with homarr, fixed myth db paths to remove _tmp, added health check for prod PA db. Cam added shitster

This commit is contained in:
2025-02-07 15:30:25 +11:00
parent e831eb8b67
commit 0314dbf672

View File

@@ -44,25 +44,6 @@ services:
- /srv/docker/container/letsencrypt/etc:/letsencrypt
- /etc/localtime:/etc/localtime:ro
heimdall:
container_name: heimdall
image: lscr.io/linuxserver/heimdall:latest
restart: unless-stopped
environment:
- TZ=Australia/Melbourne
volumes:
- /srv/docker/container/heimdall:/config
- /etc/localtime:/etc/localtime:ro
ports:
- 10080:80
- 10443:443
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.heimdall.rule=Host(`heimdall.ddp.net`) || Host(`mara.ddp.net`)"
- "traefik.http.routers.heimdall.entrypoints=web"
- "last.commit.url=https://api.github.com/repos/linuxserver/docker-heimdall/commits"
sonarr:
container_name: sonarr
image: linuxserver/sonarr:latest
@@ -164,7 +145,7 @@ services:
emby:
container_name: emby
# image: emby/embyserver:latest
image: emby/embyserver:4.9.0.35
image: emby/embyserver:4.9.0.37
restart: always
network_mode: host
environment:
@@ -393,29 +374,34 @@ services:
- "last.commit.url=https://api.github.com/repos/home-assistant/core/commits"
# this runs in network_most host so that it can find the players automatically
# mass:
# image: ghcr.io/music-assistant/server:latest
# container_name: mass
# restart: always
# network_mode: host
# depends_on:
# - adguard
# - emby
# 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.routers.mass.tls.certresolver=myresolver"
# # to note with network_mode: host, this works via localhost --> traefik routes this to http://127.0.0.1:8095"
# - "traefik.http.services.mass.loadbalancer.server.port=8095"
mass:
image: ghcr.io/music-assistant/server:latest
container_name: mass
restart: always
network_mode: host
cap_add:
- SYS_ADMIN
- DAC_READ_SEARCH
security_opt:
- apparmor:unconfined
depends_on:
- adguard
- emby
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.routers.mass.tls.certresolver=myresolver"
# to note with network_mode: host, this works via localhost --> traefik routes this to http://127.0.0.1:8095"
- "traefik.http.services.mass.loadbalancer.server.port=8095"
mosquitto:
container_name: mosquitto
@@ -717,6 +703,11 @@ services:
- /srv/docker/container/padb/mara-init:/root/mara-init
- /srv/docker/container/padb/mara-bin:/root/mara-bin
- /etc/localtime:/etc/localtime:ro
healthcheck:
test: ["CMD", "pg_isready", "-U", "pa"]
interval: 30s
timeout: 10s
retries: 5
padev:
container_name: padev
@@ -751,7 +742,8 @@ services:
environment:
ENV: "production"
depends_on:
- padb
padb:
condition: service_healthy
volumes:
- /export/docker/storage:/export/docker/storage
- /etc/localtime:/etc/localtime:ro
@@ -972,10 +964,10 @@ services:
ports:
- "0.0.0.0:3306:3306"
volumes:
- /srv/docker/container/mythtv/db_tst/sql:/docker-entrypoint-initdb.d
- /srv/docker/container/mythtv/db_tst/data:/var/lib/mysql
- /srv/docker/container/mythtv/db_tst/log:/var/log/mysql
- /srv/docker/container/mythtv/db_tst/mythtv.cnf:/etc/mysql/mariadb.conf.d/mythtv.cnf
- /srv/docker/container/mythtv/db/sql:/docker-entrypoint-initdb.d
- /srv/docker/container/mythtv/db/data:/var/lib/mysql
- /srv/docker/container/mythtv/db/log:/var/log/mysql
- /srv/docker/container/mythtv/db/mythtv.cnf:/etc/mysql/mariadb.conf.d/mythtv.cnf
- /etc/localtime:/etc/localtime:ro
# hacked entrypoint to 'add' to this container so it works as mara needs
@@ -1069,6 +1061,13 @@ services:
- "com.centurylinklabs.watchtower.enable=true"
- "last.commit.url=https://api.github.com/repos/linuxserver/docker-mariadb/commits"
# shitster:
#image: node:19-bullseye
#container_name: shitster
#working_dir: /app
#volumes:
#- /srv/docker/container/shitster:/app
web:
image: php:apache
container_name: web
@@ -1149,3 +1148,19 @@ services:
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=false"
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /srv/docker/container/homarr/configs:/app/data/configs
- /srv/docker/container/homarr/icons:/app/public/icons
- /srv/docker/container/homarr/data:/data
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.homarr.rule=Host(`homarr.ddp.net`) || Host(`mara.ddp.net`)"
- "traefik.http.routers.homarr.entrypoints=web"
- "last.commit.url=https://api.github.com/repos/ajnart/homarr/commits"