From 6ca14d63820cbcc0e7cb887420fa41631405ae76 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 1 Jan 2024 11:55:22 +0000 Subject: [PATCH] Updated Docker Compose, Added Sonarr, Radarr, Homarr, Vaultwarden --- .../flame-dashboard/docker-compose.yml | 21 --- docker-compose/homarr/docker-compose.yml | 16 +++ docker-compose/jellyfin/docker-compose.yml | 31 ----- docker-compose/jellyseerr/docker-compose.yml | 21 --- docker-compose/mariadb/docker-compose.yml | 4 +- docker-compose/mealie/docker-compose.yml | 41 ++++++ docker-compose/media-stack/docker-compose.yml | 121 ------------------ docker-compose/nextcloud/docker-compose.yml | 27 ---- .../nginx-proxy-manager/docker-compose.yml | 27 ---- docker-compose/node-red/docker-compose.yml | 20 --- docker-compose/phpmyadmin/docker-compose.yml | 2 - docker-compose/pi.alert/docker-compose.yml | 21 --- docker-compose/prowlarr/docker-compose.yml | 12 +- docker-compose/radarr/docker-compose.yml | 14 +- docker-compose/sonarr/docker-compose.yml | 16 +-- docker-compose/tautulli/docker-compose.yml | 14 ++ .../transmission-openvpn/docker-compose.yml | 6 +- docker-compose/urbackup/docker-compose.yml | 16 --- docker-compose/vaultwarden/docker-compose.yml | 21 +++ docker-compose/watchtower/docker-compose.yml | 28 ---- 20 files changed, 107 insertions(+), 372 deletions(-) delete mode 100644 docker-compose/flame-dashboard/docker-compose.yml create mode 100644 docker-compose/homarr/docker-compose.yml delete mode 100644 docker-compose/jellyfin/docker-compose.yml delete mode 100644 docker-compose/jellyseerr/docker-compose.yml create mode 100644 docker-compose/mealie/docker-compose.yml delete mode 100644 docker-compose/media-stack/docker-compose.yml delete mode 100644 docker-compose/nextcloud/docker-compose.yml delete mode 100644 docker-compose/nginx-proxy-manager/docker-compose.yml delete mode 100644 docker-compose/node-red/docker-compose.yml delete mode 100644 docker-compose/pi.alert/docker-compose.yml create mode 100644 docker-compose/tautulli/docker-compose.yml delete mode 100644 docker-compose/urbackup/docker-compose.yml create mode 100644 docker-compose/vaultwarden/docker-compose.yml delete mode 100644 docker-compose/watchtower/docker-compose.yml diff --git a/docker-compose/flame-dashboard/docker-compose.yml b/docker-compose/flame-dashboard/docker-compose.yml deleted file mode 100644 index 458b722..0000000 --- a/docker-compose/flame-dashboard/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: '2.1' -services: - flame-dashboard: - container_name: flame-dashboard - image: pawelmalak/flame:multiarch2.3.0 - environment: - - PASSWORD=password - volumes: - - /home/sam/docker/flame:/app/data - - /var/run/docker.sock:/var/run/docker.sock - ports: - - 5005:5005 - networks: - - frontend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - frontend: - external: true diff --git a/docker-compose/homarr/docker-compose.yml b/docker-compose/homarr/docker-compose.yml new file mode 100644 index 0000000..dc4b871 --- /dev/null +++ b/docker-compose/homarr/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' +services: + homarr: + container_name: homarr + image: ghcr.io/ajnart/homarr:latest + restart: unless-stopped + environment: + - TZ=Europe/London + - DEFAULT_COLOR_SCHEME=dark + volumes: + - /volume1/DOCKER/homarr/config:/app/data/configs + - /volume1/DOCKER/homarr/icons:/app/public/icons + - /volume1/DOCKER/homarr/data:/data + - /var/run/docker.sock:/var/run/docker.sock + ports: + - 7575:7575 diff --git a/docker-compose/jellyfin/docker-compose.yml b/docker-compose/jellyfin/docker-compose.yml deleted file mode 100644 index 29a3cae..0000000 --- a/docker-compose/jellyfin/docker-compose.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -version: "2.1" -services: - jellyfin: - container_name: jellyfin - image: lscr.io/linuxserver/jellyfin:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - - JELLYFIN_PublishedServerUrl=jelly.sammcnab.co.uk - volumes: - - /home/sam/docker/jellyfin:/config - - /mnt/ssd2/media/media/tv:/data/tvshows - - /mnt/ssd2/media/media/movies:/data/movies - ports: - - 8096:8096 - - 7359:7359/udp - - 1900:1900/udp - networks: - - frontend - - backend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - frontend: - external: true - backend: - external: true diff --git a/docker-compose/jellyseerr/docker-compose.yml b/docker-compose/jellyseerr/docker-compose.yml deleted file mode 100644 index 9a447aa..0000000 --- a/docker-compose/jellyseerr/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: '3' -services: - jellyseerr: - container_name: jellyseerr - image: fallenbagel/jellyseerr:latest - environment: - - LOG_LEVEL=debug - - TZ=Europe/London - volumes: - - /home/sam/docker/jellyseerr:/app/config - ports: - - 5055:5055 - networks: - - frontend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - frontend: - external: true diff --git a/docker-compose/mariadb/docker-compose.yml b/docker-compose/mariadb/docker-compose.yml index bebbf5d..5713463 100644 --- a/docker-compose/mariadb/docker-compose.yml +++ b/docker-compose/mariadb/docker-compose.yml @@ -11,8 +11,8 @@ services: MYSQL_USER: 'username' MYSQL_PASSWORD: 'password' volumes: - - /home/sam/docker/mariadb/mysql:/var/lib/mysql - - /home/sam/docker/mariadb/config:/config + - /volume1/DOCKER/mariadb/mysql:/var/lib/mysql + - /volume1/DOCKER/mariadb/config:/config ports: - 3306:3306 networks: diff --git a/docker-compose/mealie/docker-compose.yml b/docker-compose/mealie/docker-compose.yml new file mode 100644 index 0000000..2695bf0 --- /dev/null +++ b/docker-compose/mealie/docker-compose.yml @@ -0,0 +1,41 @@ +version: "3.4" +services: + mealie: + container_name: mealie + image: mealie:dev + build: + context: ../ + target: production + dockerfile: ./docker/Dockerfile + restart: always + volumes: + - /volume1/DOCKER/mealie:/app/data/ + ports: + - 9091:9000 + environment: + ALLOW_SIGNUP: "false" + + DB_ENGINE: sqlite # Optional: 'sqlite', 'postgres' + # ===================================== + # Postgres Config + POSTGRES_USER: mealie + POSTGRES_PASSWORD: mealie + POSTGRES_SERVER: postgres + POSTGRES_PORT: 5432 + POSTGRES_DB: mealie + + # ===================================== + # Web Concurrency + WEB_GUNICORN: "false" + WORKERS_PER_CORE: 0.5 + MAX_WORKERS: 1 + WEB_CONCURRENCY: 1 + # ===================================== + # Email Configuration + # SMTP_HOST= + # SMTP_PORT=587 + # SMTP_FROM_NAME=Mealie + # SMTP_AUTH_STRATEGY=TLS # Options: 'TLS', 'SSL', 'NONE' + # SMTP_FROM_EMAIL= + # SMTP_USER= + # SMTP_PASSWORD= \ No newline at end of file diff --git a/docker-compose/media-stack/docker-compose.yml b/docker-compose/media-stack/docker-compose.yml deleted file mode 100644 index 9e461f4..0000000 --- a/docker-compose/media-stack/docker-compose.yml +++ /dev/null @@ -1,121 +0,0 @@ -version: '3' -services: - jellyfin: - container_name: jellyfin - image: linuxserver/jellyfin:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - - JELLYFIN_PublishedServerUrl=URL - volumes: - - /home/sam/docker/jellyfin:/config - - /mnt/media/media/tv:/data/tvshows - - /mnt/media/media/movies:/data/movies - ports: - - 8096:8096 - - 7359:7359/udp - - 1900:1900/udp - networks: - - frontend - - backend - restart: unless-stopped - logging: - driver: "gelf" - - jellyseerr: - container_name: jellyseerr - image: fallenbagel/jellyseerr:latest - environment: - - LOG_LEVEL=debug - - TZ=Europe/London - volumes: - - /home/sam/docker/jellyseerr:/app/config - ports: - - 5055:5055 - networks: - - frontend - restart: unless-stopped - logging: - driver: "gelf" - - sonarr: - container_name: sonarr - image: linuxserver/sonarr:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - volumes: - - /home/sam/docker/sonarr:/config - - /mnt/media/media/tv:/tv - - /mnt/media/torrents:/downloads - ports: - - 8989:8989 - networks: - - backend - restart: unless-stopped - logging: - driver: "gelf" - - radarr: - container_name: radarr - image: linuxserver/radarr:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - volumes: - - /home/sam/docker/radarr:/config - - /mnt/media/media/movies:/movies - - /mnt/media/torrents:/downloads - networks: - - backend - ports: - - 7878:7878 - restart: unless-stopped - logging: - driver: "gelf" - - prowlarr: - container_name: prowlarr - image: linuxserver/prowlarr:0.4.9-develop - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - volumes: - - /home/sam/docker/prowlarr:/config - networks: - - backend - ports: - - 9696:9696 - restart: unless-stopped - logging: - driver: "gelf" - - transmission: - container_name: transmission - image: linuxserver/transmission:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - volumes: - - '/mnt/media/torrents:/data' - - '/home/sam/docker/transmission:/config' - ports: - - '9091:9091' - - '51413:51413' - - '51413:51413/udp' - networks: - - backend - restart: always - logging: - driver: "gelf" - -networks: - frontend: - external: true - backend: - external: true diff --git a/docker-compose/nextcloud/docker-compose.yml b/docker-compose/nextcloud/docker-compose.yml deleted file mode 100644 index 7c80c3f..0000000 --- a/docker-compose/nextcloud/docker-compose.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -version: "2" -services: - nextcloud: - container_name: nextcloud - image: linuxserver/nextcloud:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - volumes: - - /home/sam/docker/nextcloud/config:/config - - /mnt/ssd1/files:/data - ports: - - 443:443 - networks: - - frontend - - backend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - frontend: - external: true - backend: - external: true diff --git a/docker-compose/nginx-proxy-manager/docker-compose.yml b/docker-compose/nginx-proxy-manager/docker-compose.yml deleted file mode 100644 index abf7e8b..0000000 --- a/docker-compose/nginx-proxy-manager/docker-compose.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: "3" -services: - nginx-proxy-manager: - container_name: nginx-proxy-manager - image: 'jc21/nginx-proxy-manager:latest' - environment: - DB_MYSQL_HOST: "mariadb" - DB_MYSQL_PORT: 3306 - DB_MYSQL_USER: "username" - DB_MYSQL_PASSWORD: "password" - DB_MYSQL_NAME: "username" - volumes: - - /home/sam/docker/nginx-proxy-manager/data:/data - - /home/sam/docker/nginx-proxy-manager/letsencrypt:/etc/letsencrypt - ports: - - '80:80' - - '443:443' - - '81:81' - networks: - - frontend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - frontend: - external: true diff --git a/docker-compose/node-red/docker-compose.yml b/docker-compose/node-red/docker-compose.yml deleted file mode 100644 index c249983..0000000 --- a/docker-compose/node-red/docker-compose.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: '3' -services: - node-red: - container_name: node-red - image: nodered/node-red - environment: - - REDBOT_ENABLE_MISSION_CONTROL=true - volumes: - - '/home/sam/docker/node-red:/data' - ports: - - '1880:1880' - networks: - - frontend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - frontend: - external: true diff --git a/docker-compose/phpmyadmin/docker-compose.yml b/docker-compose/phpmyadmin/docker-compose.yml index f540fa6..5c9b523 100644 --- a/docker-compose/phpmyadmin/docker-compose.yml +++ b/docker-compose/phpmyadmin/docker-compose.yml @@ -14,8 +14,6 @@ services: - backend - frontend restart: always - logging: - driver: "gelf" networks: frontend: diff --git a/docker-compose/pi.alert/docker-compose.yml b/docker-compose/pi.alert/docker-compose.yml deleted file mode 100644 index 94b306a..0000000 --- a/docker-compose/pi.alert/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: "3" -services: - pialert: - container_name: pi-alert - image: "jokobsk/pi.alert:latest" - environment: - - TZ=Europe/London - - HOST_USER_ID=1000 - - HOST_USER_GID=1000 - - PORT=20211 - volumes: - - /home/sam/docker/pialert/config:/home/pi/pialert/config - - /home/sam/docker/pialert/db:/home/pi/pialert/db - - /home/sam/docker/pialert/db/setting_darkmode:/home/pi/pialert/db/setting_darkmode - - /home/sam/docker/pialert/logs:/home/pi/pialert/log - ports: - - "80:20211/tcp" - network_mode: "host" - restart: unless-stopped - logging: - driver: "gelf" diff --git a/docker-compose/prowlarr/docker-compose.yml b/docker-compose/prowlarr/docker-compose.yml index 90f1e14..6416f9f 100644 --- a/docker-compose/prowlarr/docker-compose.yml +++ b/docker-compose/prowlarr/docker-compose.yml @@ -3,21 +3,13 @@ version: "2.1" services: prowlarr: container_name: prowlarr - image: lscr.io/linuxserver/prowlarr:develop + image: linuxserver/prowlarr:latest environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - - /home/sam/docker/prowlarr:/config - networks: - - backend + - /volume1/DOCKER/prowlarr:/config ports: - 9696:9696 restart: unless-stopped - logging: - driver: "gelf" - -networks: - backend: - external: true diff --git a/docker-compose/radarr/docker-compose.yml b/docker-compose/radarr/docker-compose.yml index 6e44685..8342c28 100644 --- a/docker-compose/radarr/docker-compose.yml +++ b/docker-compose/radarr/docker-compose.yml @@ -3,23 +3,17 @@ version: "2.1" services: radarr: container_name: radarr - image: lscr.io/linuxserver/radarr:latest + image: linuxserver/radarr:latest environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - - /home/sam/docker/radarr:/config - - /mnt/ssd2/media/media/movies:/movies - - /mnt/ssd2/media/torrents:/downloads + - /volume1/DOCKER/radarr:/config + - /volume1/MEDIA/media/movies:/movies + - /volume1/MEDIA/torrents:/downloads networks: - backend ports: - 7878:7878 restart: unless-stopped - logging: - driver: "gelf" - -networks: - backend: - external: true diff --git a/docker-compose/sonarr/docker-compose.yml b/docker-compose/sonarr/docker-compose.yml index afc5992..6cdb8fc 100644 --- a/docker-compose/sonarr/docker-compose.yml +++ b/docker-compose/sonarr/docker-compose.yml @@ -3,23 +3,17 @@ version: "2.1" services: sonarr: container_name: sonarr - image: lscr.io/linuxserver/sonarr:latest + image: linuxserver/sonarr:latest environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - - /home/sam/docker/sonarr:/config - - /mnt/ssd2/media/media/tv:/tv - - /mnt/ssd2/media/torrents:/downloads + - /volume1/DOCKER/sonarr:/config + - /volume1/MEDIA/media/tv:/tv + - /volume1/MEDIA/torrents:/downloads ports: - 8989:8989 networks: - backend - restart: unless-stopped - logging: - driver: "gelf" - -networks: - backend: - external: true + restart: unless-stopped \ No newline at end of file diff --git a/docker-compose/tautulli/docker-compose.yml b/docker-compose/tautulli/docker-compose.yml new file mode 100644 index 0000000..28c10d5 --- /dev/null +++ b/docker-compose/tautulli/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3' +services: + tautulli: + image: ghcr.io/tautulli/tautulli + container_name: tautulli + restart: unless-stopped + volumes: + - /volume1/DOCKER/tautulli:/config + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/London + ports: + - 8181:8181 \ No newline at end of file diff --git a/docker-compose/transmission-openvpn/docker-compose.yml b/docker-compose/transmission-openvpn/docker-compose.yml index eaf2ea6..98bf8b3 100644 --- a/docker-compose/transmission-openvpn/docker-compose.yml +++ b/docker-compose/transmission-openvpn/docker-compose.yml @@ -18,8 +18,8 @@ services: - PUID=1000 - PGID=1000 volumes: - - '/mnt/ssd2/media/torrents:/data' - - '/home/sam/docker/transmission-vpn:/config' + - /volume1/MEDIA/torrents:/data + - /volume1/DOCKER/transmission-vpn:/config ports: - '9091:9091' networks: @@ -28,8 +28,6 @@ services: cap_add: - NET_ADMIN restart: always - logging: - driver: "gelf" networks: openvpn: diff --git a/docker-compose/urbackup/docker-compose.yml b/docker-compose/urbackup/docker-compose.yml deleted file mode 100644 index 625816d..0000000 --- a/docker-compose/urbackup/docker-compose.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: '2' -services: - urbackup: - container_name: urbackup - image: uroni/urbackup-server:latest - environment: - - PUID=0 - - PGID=0 - - TZ=Europe/London # Enter your timezone - volumes: - - /home/sam/docker/urbackup:/var/urbackup - - /mnt/backups:/backups - network_mode: "host" - restart: unless-stopped - logging: - driver: "gelf" diff --git a/docker-compose/vaultwarden/docker-compose.yml b/docker-compose/vaultwarden/docker-compose.yml new file mode 100644 index 0000000..0f3fb50 --- /dev/null +++ b/docker-compose/vaultwarden/docker-compose.yml @@ -0,0 +1,21 @@ +version: "3" +services: + vaultwarden: + image: vaultwarden/server:latest + container_name: vaultwarden + restart: unless-stopped + ports: + - 9445:80 #map any custom port to use (replace 8445 not 80) + volumes: + - /volume1/DOCKER/vaultwarden:/data:rw + environment: + - ADMIN_TOKEN=${ADMIN_TOKEN} + - WEBSOCKET_ENABLED=true + - SIGNUPS_ALLOWED=false + - SMTP_HOST=${SMTP_HOST} + - SMTP_FROM=${SMTP_FROM} + - SMTP_PORT=${SMTP_PORT} + - SMTP_SSL=${SMTP_SSL} + - SMTP_USERNAME=${SMTP_USERNAME} + - SMTP_PASSWORD=${SMTP_PASSWORD} + - DOMAIN=${DOMAIN} \ No newline at end of file diff --git a/docker-compose/watchtower/docker-compose.yml b/docker-compose/watchtower/docker-compose.yml deleted file mode 100644 index f1f5796..0000000 --- a/docker-compose/watchtower/docker-compose.yml +++ /dev/null @@ -1,28 +0,0 @@ -version: "3" -services: - watchtower: - container_name: watchtower - image: containrrr/watchtower - environment: - - TZ=Europe/London - - WATCHTOWER_CLEANUP=true - - WATCHTOWER_INCLUDE_STOPPED=true - - WATCHTOWER_POLL_INTERVAL=3600 - - WATCHTOWER_LABEL_ENABLE=true - - WATCHTOWER_NOTIFICATION_EMAIL_FROM=EMAIL - - WATCHTOWER_NOTIFICATION_EMAIL_TO=EMAIL - - WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com - - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=465 - - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=EMAIL - - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=PASSWORD - - WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=PVE-102 - volumes: - - /var/run/docker.sock:/var/run/docker.sock - networks: - - backend - logging: - driver: "gelf" - -networks: - backend: - external: true