Author SHA1 Message Date
tobbbs ff1fddb111 Update compose.yaml 2026-07-07 12:07:30 +02:00
tobbbs ee594dc1d3 Update compose.yaml 2026-06-22 13:01:19 +02:00
tobbbs 82a3f0e2d2 Update compose.yaml 2026-06-22 12:08:57 +02:00
tobbbs 3ab0875242 Update compose.yaml 2026-06-22 12:04:37 +02:00
tobbbs 60ac4f50a5 Add compose.yaml 2026-06-22 11:47:59 +02:00
tobbbs da83d83d9f Update README.md 2026-05-27 13:10:17 +02:00
3 changed files with 69 additions and 211 deletions
-99
View File
@@ -1,99 +0,0 @@
# Global Settings
## Do not mark any shows/movies as played and instead just output to log if they would of been marked.
DRYRUN= "False"
## Debugging level, "info" is default, "debug" is more verbose
DEBUG_LEVEL= "INFO"
## If set to true then the script will only run once and then exit
RUN_ONLY_ONCE= "False"
## How often to run the script in seconds
SLEEP_DURATION= "3600"
## Log file where all output will be written to
LOG_FILE= "/home/shrek/docker/data/jellyfin/log.log"
## Mark file where all shows/movies that have been marked as played will be written to
MARK_FILE= "/home/shrek/docker/data/jellyfin/mark.log"
## Timeout for requests for jellyfin
REQUEST_TIMEOUT= 300
## Max threads for processing
MAX_THREADS= 1
## Generate guids/locations
## These are slow processes, so this is a way to speed things up
## If media servers are using the same files then you can enable only generate locations
## If media servers are using different files then you can enable only generate guids
## Default is to generate both
GENERATE_GUIDS= "True"
GENERATE_LOCATIONS= "True"
## Map usernames between servers in the event that they are different, order does not matter
## Comma separated for multiple options
USER_MAPPING= { "Tobi1814": "Tobias" }
## Map libraries between servers in the event that they are different, order does not matter
## Comma separated for multiple options
LIBRARY_MAPPING= { "Shows": "TV Shows", "Movie": "Movies" }
## Blacklisting/Whitelisting libraries, library types such as Movies/TV Shows, and users. Mappings apply so if the mapping for the user or library exist then both will be excluded.
## Comma separated for multiple options
#BLACKLIST_LIBRARY = ""
#WHITELIST_LIBRARY = ""
#BLACKLIST_LIBRARY_TYPE = ""
#WHITELIST_LIBRARY_TYPE = ""
#BLACKLIST_USERS = ""
#WHITELIST_USERS = ""
# Plex
## Recommended to use token as it is faster to connect as it is direct to the server instead of going through the plex servers
## URL of the plex server, use hostname or IP address if the hostname is not resolving correctly
## Comma separated list for multiple servers
PLEX_BASEURL= "http://192.168.178.70:32400"
## Plex token https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
## Comma separated list for multiple servers
PLEX_TOKEN= "5WUY66oQ4A4jneDtJAVu"
## If not using plex token then use username and password of the server admin along with the servername
## Comma separated for multiple options
#PLEX_USERNAME = "PlexUser, PlexUser2"
#PLEX_PASSWORD = "SuperSecret, SuperSecret2"
#PLEX_SERVERNAME = "Plex Server1, Plex Server2"
## Skip hostname validation for ssl certificates.
## Set to True if running into ssl certificate errors
SSL_BYPASS= "False"
# Jellyfin
## Jellyfin server URL, use hostname or IP address if the hostname is not resolving correctly
## Comma separated list for multiple servers
JELLYFIN_BASEURL= "http://192.168.178.70:8096"
## Jellyfin api token, created manually by logging in to the jellyfin server admin dashboard and creating an api key
## Comma separated list for multiple servers
JELLYFIN_TOKEN= "fbe8243134424bf2a1a212f14921a7c6"
# Syncing Options
## control the direction of syncing. e.g. SYNC_FROM_PLEX_TO_JELLYFIN set to true will cause the updates from plex
## to be updated in jellyfin. SYNC_FROM_PLEX_TO_PLEX set to true will sync updates between multiple plex servers
SYNC_FROM_PLEX_TO_JELLYFIN= "True"
SYNC_FROM_PLEX_TO_PLEX= "false"
SYNC_FROM_PLEX_TO_EMBY= "false"
SYNC_FROM_JELLYFIN_TO_PLEX= "True"
SYNC_FROM_JELLYFIN_TO_JELLYFIN= "false"
SYNC_FROM_JELLYFIN_TO_EMBY= "false"
SYNC_FROM_EMBY_TO_PLEX= "false"
SYNC_FROM_EMBY_TO_JELLYFIN= "false"
SYNC_FROM_EMBY_TO_EMBY= "false"
+5 -1
View File
@@ -1,3 +1,7 @@
# Bragi-Local # Bragi-Local
My Compose Stacks for all my Docker Services running on my Local Server My Compose Stacks for all my Docker Services running on my Local Server
06_maintanance:
- Lubelogger
- Postgresql for Lubelogger
+64 -111
View File
@@ -1,118 +1,71 @@
services: services:
navidrome: SnapOtter:
image: deluan/navidrome:latest image: snapotter/snapotter:latest # or ghcr.io/snapotter-hq/snapotter:latest
container_name: navidrome container_name: snapotter
environment: # ports:
ND_UILOGINBACKGROUNDURL: "https://images.unsplash.com/photo-1675702656416-fbc847ec4226?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" # - "1349:1349"
ports: networks:
- 4533:4533 - bragi-local
volumes: volumes:
- /home/shrek/docker/data/navidrome:/data - /opt/10_images/snapotter:/data
- /mnt/hdd/Media/Music:/music:ro environment:
networks: - AUTH_ENABLED=true
- bragi-local - DEFAULT_USERNAME=admin
restart: unless-stopped - DEFAULT_PASSWORD=admin
- DATABASE_URL=postgres://snapotter:snapotter@postgres:5432/snapotter
- REDIS_URL=redis://redis:6379
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
jellyfin: postgres:
image: jellyfin/jellyfin image: postgres:17-alpine
container_name: jellyfin container_name: snapotter_postgres
ports: environment:
- 8096:8096/tcp POSTGRES_USER: snapotter
- 7359:7359/udp POSTGRES_PASSWORD: snapotter
networks: POSTGRES_DB: snapotter
- bragi-local networks:
volumes: - bragi-local
- /home/shrek/docker/data/jellyfin/config:/config volumes:
- /home/shrek/docker/data/jellyfin/cache:/cache - /opt/10_images/postgresql:/var/lib/postgresql/data
- type: bind restart: unless-stopped
source: /mnt/big/Downloads/done healthcheck:
target: /films1 test: ["CMD-SHELL", "pg_isready -U snapotter"]
- type: bind interval: 10s
source: /mnt/immich/Media/Films timeout: 5s
target: /films2 retries: 12
- type: bind
source: /mnt/big/Media/Films
target: /films3
- type: bind
source: /mnt/hdd/Media/Film
target: /films4
- type: bind
source: /mnt/big/data/torrents/movies
target: /films5
- type: bind
source: /mnt/big/data/downloads/movies
target: /films6
- type: bind
source: /mnt/big/Media/Film
target: /films7
- type: bind
source: /mnt/hdd/Media/Series
target: /series1
- type: bind
source: /mnt/big/data/downloads/tv/
target: /series2
- type: bind
source: /mnt/big/data/torrents/tv/
target: /series3
- type: bind
source: /mnt/big/Downloads/done/Series/
target: /series4
- type: bind
source: /mnt/big/Media/Series/
target: /series5
- type: bind
source: /mnt/big/Media/Film/Series/
target: /series6
- type: bind
source: /mnt/immich/Media/Series/
target: /series7
read_only: true
restart: 'unless-stopped'
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
environment:
- JELLYFIN_PublishedServerUrl=https://stream.doeringer.eu
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
jellyplex-watched: redis:
image: luigi311/jellyplex-watched:latest container_name: snapotter_redis
container_name: jellyplex-watched networks:
restart: unless-stopped - bragi-local
networks: image: redis:8-alpine
- bragi-local command: ["redis-server", "--maxmemory-policy", "noeviction", "--appendonly", "yes"]
environment: volumes:
- PUID=1000 - /opt/10_images/redis:/data
- PGID=1000 restart: unless-stopped
env_file: "./.env" healthcheck:
test: ["CMD", "redis-cli", "ping"]
droppedneedle: interval: 10s
image: ghcr.io/habirabbu/droppedneedle:latest timeout: 5s
container_name: droppedneedle retries: 12
networks:
- bragi-local
environment:
- PUID=1000
- PGID=1000
# - PORT=8688
- TZ=Europe/Berlin
- /mnt/hdd/Media/Music=/slskd-downloads
#ports:
#- "8688:8688"
volumes:
- /opt/03_media_player/droppedneedle/config:/app/config
- /opt/03_media_player/droppedneedle/cache:/app/cache
- /mnt/hdd/Media/Music:/music:rw
- /mnt/hdd/Media/Downloads/Music/downloads:/slskd-downloads:rw
restart: unless-stopped
volumes:
SnapOtter-data:
SnapOtter-pgdata:
SnapOtter-redisdata:
networks: networks:
bragi-local: bragi-local:
external: true external: true