Added gamevault and jellyfin

This commit is contained in:
William Lewis 2023-09-15 10:20:57 -05:00
parent 694e4866e2
commit 621a419b65
2 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,44 @@
version: "3.8"
services:
gamevault-backend:
container_name: gamevault-backend
image: phalcode/gamevault-backend:latest
restart: unless-stopped
environment:
DB_HOST: db
DB_USERNAME: gamevault
DB_PASSWORD: <DB-PASSWORD>
# The Following Line grants Admin Role to account with this username upon registration.
SERVER_ADMIN_USERNAME: <admin-account>
# Uncomment and Insert your RAWG API Key here if you have one (http://rawg.io/login?forward=developer)
# RAWG_API_KEY: YOURAPIKEYHERE
volumes:
# Mount the folder where your games are
- gamevault_games:/files
# Mount the folder where gamevault should store its images
- gamevault_images:/images
ports:
- 8282:8080
db:
image: postgres:15
restart: unless-stopped
environment:
POSTGRES_USER: gamevault
POSTGRES_PASSWORD: <DB-PASSWORD>
POSTGRES_DB: gamevault
volumes:
# Mount the folder where your postgres database files should land
- ./postgres:/var/lib/postgresql/data
volumes:
gamevault_games:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/GameVault/Games"
gamevault_images:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/GameVault/Images"

View File

@ -0,0 +1,50 @@
version: "2.1"
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:10.8.8
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
# - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
volumes:
- ./jellyfin-config:/config
- jellyfin_tvshows:/data/tvshows
- jellyfin_movies:/data/movies
- jellyfin_music:/data/music
- jellyfin_longform:/data/longform
- jellyfin_channels:/data/channel
ports:
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
volumes:
jellyfin_movies:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/MediaStorage/deluge_downloads/complete/Movies"
jellyfin_tvshows:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/MediaStorage/deluge_downloads/complete/TVShows"
jellyfin_music:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/MediaStorage/deluge_downloads/complete/Music"
jellyfin_longform:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/MediaStorage/deluge_downloads/complete/LongFormVideos"
jellyfin_channels:
driver_opts:
type: "nfs"
o: "addr=10.0.10.10,nolock,soft,rw"
device: ":/mnt/General_Tank/General/MediaStorage/deluge_downloads/complete/YoutubeVideos"