Skip to content

Commit abfb2a2

Browse files
committed
Created link to docker-compose in user's /home/talesam/Docker and added comments in docker-compose.yml
1 parent 3f89841 commit abfb2a2

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

etc/docker-biglinux/jellyfin/docker-compose.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,41 @@ services:
66
container_name: jellyfin
77
environment:
88
#- TZ=America/Sao_Paulo
9+
# Specify a timezone to use, see this (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)
10+
11+
#- JELLYFIN_PublishedServerUrl=192.168.0.5
12+
# Optional - Set the autodiscovery response domain or IP address.
13+
914
- UMASK_SET=022
15+
# Sets the file permission mask for newly created files and directories within the Jellyfin container.
16+
1017
volumes:
1118
- ${HOME}/Docker/Jellyfin/config:/config
12-
- ${HOME}/Docker/Jellyfin/cache:/cache
13-
- ${HOME}/Docker/Jellyfin/media:/media
19+
# Jellyfin data storage location. This can grow very large, 50gb+ is likely for a large collection.
20+
21+
- ${HOME}/Docker/Jellyfin/tvseries:/data/tvshows
22+
# /path/to/tvseries:/data/tvshows
23+
24+
- ${HOME}/Docker/Jellyfin/movies:/data/movies
25+
# /path/to/movies:/data/movies
26+
1427
ports:
1528
- "8096:8096"
29+
# Http webUI.
30+
31+
- "8920:8920"
32+
# Optional - Https webUI (you need to set up your own certificate).
33+
34+
- "7359:7359/udp"
35+
# Optional - Allows clients to discover Jellyfin on the local network.
36+
37+
- "1900:1900/udp"
38+
# Optional - Service discovery used by DLNA and clients.
39+
1640
restart: always
1741
networks:
1842
big-net:
1943

2044
networks:
2145
big-net:
22-
name: big-net
46+
name: big-net

pkgbuild/pkgbuild.install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ post_install() {
1717
# Set the correct owner and group for the Docker folder and its contents
1818
echo "Setting correct permissions for Docker folder..."
1919
chown -R $SUDO_USER:$SUDO_USER /home/$SUDO_USER/Docker
20+
21+
# Symlink docker-compose.yml to Docker/Jellyfin folder
22+
echo "Creating symlink to docker-compose.yml..."
23+
ln -s /etc/docker-biglinux/jellyfin/docker-compose.yml /home/$SUDO_USER/Docker/Jellyfin/docker-compose.yml
2024
}
2125

2226
# Executed before package removal

0 commit comments

Comments
 (0)