Compare commits

..

8 commits

Author SHA1 Message Date
174063efa3 [add] emby 2022-03-31 23:03:06 +01:00
5efad62be1 [fix] vchiq 2022-03-31 23:01:17 +01:00
f4d11de25a [fix] nvidia 2022-03-31 23:00:28 +01:00
25e339f7da [fix] network 2022-03-31 22:58:50 +01:00
96ec3d3505 [add] emby 2022-03-31 22:50:59 +01:00
4eafe24fb6 [fix] add n2plus 2022-03-31 22:15:50 +01:00
0ab4db1af6 [fix] wiki 2022-03-31 22:10:37 +01:00
4d932daf53 [fix] code 2022-03-31 22:01:00 +01:00
5 changed files with 52 additions and 7 deletions

View file

@ -11,7 +11,9 @@
(n2) { (n2) {
reverse_proxy 192.168.1.4:{args.0} reverse_proxy 192.168.1.4:{args.0}
} }
(n2plus) {
reverse_proxy 192.168.1.10:{args.0}
}
# DNS # DNS
(duckdns) { (duckdns) {
tls { tls {
@ -39,24 +41,28 @@
} }
@wiki host wiki.quodatum.duckdns.org @wiki host wiki.quodatum.duckdns.org
handle @wiki { handle @wiki {
import omv 8088 import n2 8088
} }
@code host wiki.quodatum.duckdns.org @code host code.quodatum.duckdns.org
handle @code { handle @code {
import n2 8444 import n2plus 8444
} }
# Fallback for otherwise unhandled domains # Fallback for otherwise unhandled domains
handle { handle {
abort abort
} }
} }
# orlop # orlop ------------------------------------
*.orlop.duckdns.org { *.orlop.duckdns.org {
import duckdns import duckdns
@jellyfin host jellyfin.orlop.duckdns.org @jellyfin host jellyfin.orlop.duckdns.org
handle @jellyfin { handle @jellyfin {
import omv 8096 import omv 8096
} }
@emby host emby.orlop.duckdns.org
handle @emby {
import omv 8097
}
# Fallback for otherwise unhandled domains # Fallback for otherwise unhandled domains
handle { handle {
abort abort
@ -76,6 +82,6 @@ xu4.local {
import auth import auth
encode zstd gzip encode zstd gzip
root link root links
file_server browse file_server browse
} }

8
emby/cache/.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# .gitignore sample
###################
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore

8
emby/config/.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# .gitignore sample
###################
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore

24
emby/docker-compose.yml Normal file
View file

@ -0,0 +1,24 @@
version: "2.3"
services:
emby:
image: emby/embyserver
container_name: embyserver
#runtime: nvidia # Expose NVIDIA GPUs
# network_mode: host # Enable DLNA and Wake-on-Lan
# https://forums.docker.com/t/docker-errors-invalidargument-host-network-mode-is-incompatible-with-port-bindings/103492/14
environment:
- UID=1000 # The UID to run emby as (default: 2)
- GID=100 # The GID to run emby as (default 2)
- GIDLIST=100 # A comma-separated list of additional GIDs to run emby as (default: 2)
volumes:
- ./config:/config
- ./cache:/cache
- /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/music:/music
- /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/PicasaStarter/pictures/Pictures:/photos
ports:
- 8097:8096 # HTTP port
- 8920:8920 # HTTPS port
devices:
- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
#- /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
restart: unless-stopped

View file

@ -5,7 +5,6 @@ services:
gerbera: gerbera:
image: gerbera/gerbera:1.9.2 image: gerbera/gerbera:1.9.2
container_name: gerbera container_name: gerbera
restart: always
volumes: volumes:
- "/mnt/media/pictures:/media/pictures:ro" - "/mnt/media/pictures:/media/pictures:ro"
- "./videos:/media/videos:ro" - "./videos:/media/videos:ro"