1
0
Fork 0
This commit is contained in:
Xavier Fontanet 2024-05-26 21:28:18 +02:00
commit 827cae2552
40 changed files with 7904 additions and 0 deletions

26
.gitignore vendored Normal file
View File

@ -0,0 +1,26 @@
/#recycle
filebot/desktop/config
filebot/licenses
filebot/old
filebot/xattr
homarr/bk
homarr/data
jackett/config
moved
my tools
ombi/config
overseerr/config
petio/config
petio/db
petio/logs
plex/config
prowlarr/config
qbit/bk
qbit/config
qbit/manager/config
radarr/config
rclone
sonarr/config
tautulli/config
tdarr/server
.DS_Store

8
Mangrana.code-workspace Normal file
View File

@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}

View File

@ -0,0 +1,17 @@
# docker-compose.yml
version: '3.3'
services:
filebot:
container_name: mangrana_filebot-desktop
image: rednoah/filebot:xpra
restart: unless-stopped
volumes:
- /volume1/data:/data
- ./config/filebot:/data/filebot
- ../presets:/presets
- ../xattr:/xattr
environment:
- PUID=1026
- PGID=100
ports:
- 5454:5454

1
filebot/presets Submodule

@ -0,0 +1 @@
Subproject commit 356a5178fa848313dc09f5ddafdcdaa5f133e10c

1795
homarr/configs/admin.json Normal file

File diff suppressed because it is too large Load Diff

575
homarr/configs/default.json Normal file
View File

@ -0,0 +1,575 @@
{
"schemaVersion": 1,
"configProperties": {
"name": "default"
},
"categories": [
{
"id": "9eee6431-983a-4a23-b2bf-937b97d7a96b",
"name": "Incorporacions",
"position": 1,
"type": "category"
}
],
"wrappers": [
{
"id": "default",
"position": 0
},
{
"id": "398f3d4b-f6de-47c6-9cc5-b3970c59c92a",
"position": 1
}
],
"apps": [
{
"id": "2e06c367-f6a5-4ba9-acb6-569e9b725384",
"name": "Activitat",
"url": "http://192.168.1.22:8182",
"appearance": {
"iconUrl": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/svg/tautulli.svg",
"appNameStatus": "normal",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"network": {
"enabledStatusChecker": true,
"statusCodes": [
"200",
"301",
"302",
"304",
"307",
"308"
]
},
"behaviour": {
"isOpeningNewTab": true,
"externalUrl": "https://tautulli.mangrana.tv/"
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"lg": {
"location": {
"x": 2,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"sm": {
"location": {
"x": 0,
"y": 1
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 2,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
}
},
"integration": {
"type": null,
"properties": []
}
},
{
"id": "6008a695-4799-4a81-a539-aa2a6d4aeab6",
"name": "Llibres",
"url": "http://192.168.1.22:8083",
"appearance": {
"iconUrl": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/svg/calibre-web.svg",
"appNameStatus": "normal",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"network": {
"enabledStatusChecker": true,
"statusCodes": [
"200",
"301",
"302",
"304",
"307",
"308"
]
},
"behaviour": {
"isOpeningNewTab": true,
"externalUrl": "https://ebooks.mangrana.tv"
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"lg": {
"location": {
"x": 6,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"sm": {
"location": {
"x": 1,
"y": 1
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
}
},
"integration": {
"type": null,
"properties": []
}
},
{
"id": "3b16b9c4-2365-40bd-987e-ae42c899b2d7",
"name": "Plex",
"url": "http://192.168.1.22:32400",
"appearance": {
"iconUrl": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/svg/plex.svg",
"appNameStatus": "normal",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"network": {
"enabledStatusChecker": true,
"statusCodes": [
"200",
"301",
"302",
"304",
"307",
"308",
"401"
]
},
"behaviour": {
"isOpeningNewTab": true,
"externalUrl": "https://www.plex.tv/es/"
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"lg": {
"location": {
"x": 4,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"sm": {
"location": {
"x": 1,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 3,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
}
},
"integration": {
"type": null,
"properties": []
}
},
{
"id": "7ae7e009-d7b6-41f2-8332-1aef10fdd649",
"name": "Setmana",
"url": "http://192.168.1.22:8182/newsletter/id/setmanal",
"appearance": {
"iconUrl": "https://cdn-icons-png.flaticon.com/512/6381/6381451.png",
"appNameStatus": "hidden",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"network": {
"enabledStatusChecker": false,
"statusCodes": [
"200",
"301",
"302",
"304",
"307",
"308"
]
},
"behaviour": {
"isOpeningNewTab": true,
"externalUrl": "https://tautulli.mangrana.tv/newsletter/id/setmanal",
"tooltipDescription": "Afegits als darrers 7 dies, actualitzat cada matí"
},
"area": {
"type": "category",
"properties": {
"id": "9eee6431-983a-4a23-b2bf-937b97d7a96b"
}
},
"shape": {
"lg": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"sm": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 1,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
}
},
"integration": {
"type": null,
"properties": []
}
},
{
"id": "04b5f349-6d7b-48d3-8033-450e397ca2fb",
"name": "Peticions",
"url": "http://192.168.1.22:5055",
"appearance": {
"iconUrl": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/svg/overseerr.svg",
"appNameStatus": "normal",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"network": {
"enabledStatusChecker": true,
"statusCodes": [
"200",
"301",
"302",
"304",
"307",
"308"
]
},
"behaviour": {
"isOpeningNewTab": true,
"externalUrl": "https://bufet.mangrana.tv"
},
"area": {
"type": "wrapper",
"properties": {
"id": "default"
}
},
"shape": {
"lg": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"sm": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 4,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
}
},
"integration": {
"type": null,
"properties": []
}
},
{
"id": "ddbbc0cf-1cf5-4aa7-a6f8-ea4c09397825",
"name": "Mensual",
"url": "http://192.168.1.22:8182/newsletter/id/mensual",
"appearance": {
"iconUrl": "https://cdn-icons-png.flaticon.com/512/6381/6381435.png",
"appNameStatus": "hidden",
"positionAppName": "column",
"lineClampAppName": 1,
"appNameFontSize": 16
},
"network": {
"enabledStatusChecker": false,
"statusCodes": [
"200",
"301",
"302",
"304",
"307",
"308"
]
},
"behaviour": {
"isOpeningNewTab": true,
"externalUrl": "https://tautulli.mangrana.tv/newsletter/id/mensual",
"tooltipDescription": "Afegits als darrers 30 dies, actualitzat cada dilluns"
},
"area": {
"type": "category",
"properties": {
"id": "9eee6431-983a-4a23-b2bf-937b97d7a96b"
}
},
"shape": {
"lg": {
"location": {
"x": 2,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"sm": {
"location": {
"x": 1,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
},
"md": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 1,
"height": 1
}
}
},
"integration": {
"type": null,
"properties": []
}
}
],
"widgets": [
{
"id": "880bc9ad-87c7-4e29-81d8-a27656a60894",
"type": "dashdot",
"properties": {
"dashName": "Estat del Servidor",
"url": "https://hack3.cat",
"usePercentages": true,
"columns": 2,
"graphHeight": 115,
"graphsOrder": [
{
"key": "cpu",
"subValues": {
"enabled": true,
"multiView": false,
"span": 1
}
},
{
"key": "ram",
"subValues": {
"enabled": true,
"span": 1
}
},
{
"key": "network",
"subValues": {
"enabled": true,
"compactView": false,
"span": 2
}
},
{
"key": "storage",
"subValues": {
"enabled": false,
"compactView": false,
"span": 2,
"multiView": false
}
},
{
"key": "gpu",
"subValues": {
"enabled": false,
"span": 1
}
}
]
},
"area": {
"type": "wrapper",
"properties": {
"id": "398f3d4b-f6de-47c6-9cc5-b3970c59c92a"
}
},
"shape": {
"sm": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"md": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 2,
"height": 2
}
},
"lg": {
"location": {
"x": 0,
"y": 0
},
"size": {
"width": 4,
"height": 3
}
}
}
}
],
"settings": {
"common": {
"searchEngine": {
"type": "google",
"properties": {}
}
},
"customization": {
"layout": {
"enabledLeftSidebar": false,
"enabledRightSidebar": false,
"enabledDocker": false,
"enabledPing": true,
"enabledSearchbar": true
},
"pageTitle": "Mangrana ⭐️",
"logoImageUrl": "https://cdn-icons-png.flaticon.com/512/4055/4055246.png",
"faviconUrl": "https://cdn-icons-png.flaticon.com/512/4055/4055246.png",
"backgroundImageUrl": "https://img.freepik.com/fotos-premium/fruta-granada-fondo-estudio_741910-12755.jpg",
"customCss": "",
"colors": {
"primary": "pink",
"secondary": "grape",
"shade": 9
},
"appOpacity": 50,
"gridstack": {
"columnCountSmall": 2,
"columnCountMedium": 6,
"columnCountLarge": 13
},
"backgroundImageAttachment": "fixed",
"backgroundImageRepeat": "no-repeat",
"backgroundImageSize": "cover",
"metaTitle": "mangrana"
},
"access": {
"allowGuests": true
}
}
}

View File

@ -0,0 +1,15 @@
version: '3.5'
services:
dash:
container_name: mangrana_homarr_dash
image: mauricenino/dashdot:latest
restart: unless-stopped
privileged: true
environment:
- DASHDOT_ENABLE_CPU_TEMPS=true
- DASHDOT_OVERRIDE_OS=DSM
ports:
- '3099:3001'
volumes:
- /:/mnt/host:ro

20
homarr/docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
version: '3'
services:
homarr:
container_name: mangrana_homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
environment:
- DEFAULT_COLOR_SCHEME=dark
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./configs:/app/data/configs
- ./icons:/app/public/icons
- ./data:/data
- ./imgs:/imgs
ports:
- '7575:7575'
extra_hosts:
- "host.docker.internal:host-gateway"
dns:
- 192.168.1.22

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 KiB

BIN
homarr/icons/mensual.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
homarr/icons/setmanal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,14 @@
version: "2"
services:
jackett:
image: linuxserver/jackett
container_name: jackett
restart: unless-stopped
environment:
- TZ=Europe/Madrid
volumes:
- ./config:/config
- ./dwn:/downloads
ports:
- "9117:9117"

15
ombi/docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
---
version: "2.1"
services:
ombi:
image: lscr.io/linuxserver/ombi
container_name: mangrana_ombi
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
volumes:
- ./config:/config
ports:
- 3579:3579
restart: unless-stopped

View File

@ -0,0 +1,23 @@
---
version: "2.1"
services:
overseerr:
image: lscr.io/linuxserver/overseerr:latest
container_name: mangrana_overseerr
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
volumes:
- ./config:/config
ports:
- 5055:5055
restart: unless-stopped
extra_hosts:
- host.docker.internal:host-gateway
networks:
- qbit_default
networks:
qbit_default:
external: true

35
petio/docker-compose.yml Normal file
View File

@ -0,0 +1,35 @@
version: "3"
networks:
petio-network:
driver: bridge
services:
petio:
image: ghcr.io/petio-team/petio:latest
container_name: "petio"
hostname: petio
ports:
- "7777:7777"
networks:
- petio-network
depends_on:
- mongo
user: "1026:100"
environment:
- TZ=Europe/Madrid
volumes:
- ./config:/app/api/config
- ./logs:/app/logs
mongo:
image: mongo:4.4.6
container_name: "mongo"
hostname: mongo
ports:
- "27017:27017"
networks:
- petio-network
user: "1026:100"
volumes:
- ./db:/data/db

2
plex/.env Normal file
View File

@ -0,0 +1,2 @@
DOCKERSTORAGEDIR=/volume1/data
SDSTORAGEDIR=/volumeUSB1/usbshare

31
plex/docker-compose.yml Normal file
View File

@ -0,0 +1,31 @@
---
version: "2.1"
services:
plex:
image: lscr.io/linuxserver/plex
container_name: mangrana_plex
hostname: plex
network_mode: host
mem_limit: 4g
cpu_shares: 1024
security_opt:
- no-new-privileges:true
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:32400/web
volumes:
- ./config:/config
- ${DOCKERSTORAGEDIR}/media:/data/media:rw
- ${SDSTORAGEDIR}/transcode/plex:/transcode
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
# tmpfs:
# - /transcode
environment:
- PUID=1026
- PGID=100
- VERSION=public
- TZ=Europe/Madrid
restart: on-failure:5
labels:
- "com.centurylinklabs.watchtower.enable=false"

3
plex/old_env/.env Normal file
View File

@ -0,0 +1,3 @@
PLEX_HOME_H=/volume1/Mangrana/plex/config
CLAIM_CODE=claim-rzQB-E1H189vHtzHxBtz
LOCAL_MUSIC_PATH=/volume1/music/Plex

View File

@ -0,0 +1,20 @@
---
version: "2.1"
services:
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: mangrana_prowlarr
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
volumes:
- ./config:/config
ports:
- 9696:9696
restart: unless-stopped
networks:
- qbit_default
networks:
qbit_default:
external: true

22
qbit/docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
---
version: "2.1"
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:4.5.4
container_name: mangrana_qbittorrent
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
- WEBUI_PORT=8080
volumes:
- ./config:/config
- ./scripts:/scripts
- /volume1/data:/data
- /volumeUSB1/usbshare/incomplete:/incomplete
ports:
- 8081:8080
- 51413:51413
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=false"

View File

@ -0,0 +1,21 @@
version: "3.7"
services:
qbit_manage:
container_name: mangrana_qbit-manage
image: bobokun/qbit_manage
volumes:
- ./config:/config:rw
- /volume1/data:/data:rw
environment:
- TZ=Europe/Madrid
- QBT_SCHEDULE=1440
- QBT_CONFIG=config.yml
- QBT_LOGFILE=activity.log
- QBT_LOG_LEVEL=DEBUG
- QBT_DEBUG=true
restart: unless-stopped
networks:
- qbit_default
networks:
qbit_default:
external: true

View File

1
radarr/.env Normal file
View File

@ -0,0 +1 @@
JOBS_RADARR=/volume1/jobs/radarr

24
radarr/docker-compose.yml Normal file
View File

@ -0,0 +1,24 @@
---
version: "2.1"
services:
radarr:
image: lscr.io/linuxserver/radarr
container_name: mangrana_radarr
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
volumes:
- ./config:/config
- ${JOBS_RADARR}:/jobs
- /volume1/data:/data
ports:
- 7878:7878
restart: unless-stopped
networks:
- qbit_default
extra_hosts:
- host.docker.internal:host-gateway
networks:
qbit_default:
external: true

8
reposilite/.env Normal file
View File

@ -0,0 +1,8 @@
# Port to use
PORT=8788
# Memory limit for Reposilite
MEMORY=64M
# JVM args
JAVA_COMPOSE_OPTS=
# Reposilite args
REPOSILITE_COMPOSE_OPTS=

View File

@ -0,0 +1,19 @@
version: "3.9"
services:
reposilite:
container_name: root_maven-repo
image: docker.io/dzikoysk/reposilite:3.1.1
ports:
- ${PORT}:${PORT}
env_file:
- .env
environment:
- JAVA_OPTS=-Xmx${MEMORY} ${JAVA_COMPOSE_OPTS}
- REPOSILITE_OPTS=--port ${PORT} ${REPOSILITE_COMPOSE_OPTS}
volumes:
- reposilite-data:/app/data
restart: unless-stopped
stdin_open: true
tty: true
volumes:
reposilite-data: {}

3
sonarr/.env Normal file
View File

@ -0,0 +1,3 @@
JOBS_SONARR=/volume1/jobs/sonarr
SERIES=/volume1/tv
DOWNLOADS=/volume1/Downloads/Transmission

22
sonarr/docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
---
version: "2.1"
services:
sonarr:
image: lscr.io/linuxserver/sonarr
container_name: mangrana_sonarr
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
volumes:
- ./config:/config
- ${JOBS_SONARR}:/jobs
- /volume1/data:/data
ports:
- 8989:8989
restart: unless-stopped
networks:
- qbit_default
networks:
qbit_default:
external: true

View File

@ -0,0 +1,15 @@
---
version: "2.1"
services:
tautulli:
container_name: mangrana_tautulli
image: ghcr.io/linuxserver/tautulli
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Madrid
volumes:
- ./config:/config
ports:
- 8182:8181
restart: unless-stopped

5
tdarr/.env Normal file
View File

@ -0,0 +1,5 @@
DOCKERSTORAGEDIR=/volume1/data
SDSTORAGEDIR=/volumeUSB1/usbshare
PUID=1026
PGID=100
timezone=Europe/Madrid

View File

@ -0,0 +1,17 @@
{
"nodeName": "MyInternalNode",
"serverIP": "192.168.1.22",
"serverPort": "8266",
"handbrakePath": "",
"ffmpegPath": "",
"mkvpropeditPath": "",
"pathTranslators": [
{
"server": "",
"node": ""
}
],
"logLevel": "INFO",
"priority": -1,
"cronPluginUpdate": ""
}

View File

@ -0,0 +1,12 @@
{
"serverPort": "8266",
"webUIPort": "8265",
"serverIP": "192.168.1.22",
"handbrakePath": "",
"ffmpegPath": "",
"logLevel": "INFO",
"mkvpropeditPath": "",
"ccextractorPath": "",
"openBrowser": true,
"cronPluginUpdate": ""
}

40
tdarr/docker-compose.yml Normal file
View File

@ -0,0 +1,40 @@
version: "3.4"
services:
tdarr:
container_name: tdarr
image: ghcr.io/haveagitgat/tdarr:latest
restart: unless-stopped
network_mode: bridge
ports:
- 8265:8265 # webUI port
- 8266:8266 # server port
- 8267:8267 # node port. It should be mapped on this container because
# the node container use the network from the main container
environment:
- TZ=${timezone}
- PUID=${PUID}
- PGID=${PGID}
- UMASK_SET=022
- serverIP=192.168.1.22
- serverPort=8266
- webUIPort=8265
- internalNode=false
- inContainer=true
- nodeName=MyInternalNode
#jo diria que aixo no
#- NVIDIA_DRIVER_CAPABILITIES=all
#- NVIDIA_VISIBLE_DEVICES=all
#aixo ho diuen a reddit
- LIBVA_DRIVER_NAME=i965
- LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/
volumes:
- ./server:/app/server
- ./configs:/app/configs
- ./logs:/app/logs
- ${DOCKERSTORAGEDIR}/media:/media
- ${SDSTORAGEDIR}/tdarr_temp:/temp
#- /YourVolumeforMediaYouWanttoTranscode:/convert ???
#no estic segur
devices:
- /dev/dri:/dev/dri

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

5
tdarr/node/.env Normal file
View File

@ -0,0 +1,5 @@
DOCKERSTORAGEDIR=/Volumes/data
SDSTORAGEDIR=./
PUID=501
PGID=20
timezone=Europe/Madrid

View File

@ -0,0 +1,38 @@
# node
tdarr-node:
container_name: tdarr-node
image: ghcr.io/haveagitgat/tdarr_node:latest
restart: unless-stopped
network_mode: service:tdarr
environment:
- TZ=${timezone}
- PUID=${PUID}
- PGID=${PGID}
- UMASK_SET=002
- nodeName=MyExternalNode
- serverIP=192.168.1.22
- serverPort=8266
- inContainer=true
#aixo em sembla que no
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
#aixo ho diuen a reddit per a ds920+
#- LIBVA_DRIVER_NAME=i965
#- LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/
volumes:
- ./configs:/app/configs
- ./logs:/app/logs
- ${DOCKERSTORAGEDIR}/media:/media
- ${SDSTORAGEDIR}/tdarr_temp:/temp
devices:
- /dev/dri:/dev/dri
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]