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