Docker services on my home NAS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
1.4 KiB

########################
### Configs - Manual ###
########################
# UNAME: host User NAME
# GNAME: host Group NAME
# genery
TZ=Asia/Shanghai
# docker build args
ARGS_APK_MIRROR='mirrors.aliyun.com'
ARGS_ALPINE_VERSION=3.16
ARGS_PYTHON_VERSION=3.8
ARGS_NGINX_VERSION=1.22
ARGS_JELLYFIN_VERSION=10.7.7
# proxy service
PROXY_SOCKS_PORT=1234
PROXY_HTTP_PORT=1248
PROXY_NMP_ENDPOINT=wss://next.example.com
PROXY_NMP_TOKEN=abcd1234bcda4312
# samba/wsdd
SMB_UNAME_ADMIN=abcde # for SMB admin login, must exist on the host
SMB_ADMIN_PASSWD=12345678 # for SMB admin login only, can be different from the password of host user
SMB_PATH_PRIVATE=/mnt/share/private # drwxrwx--- root share-private
SMB_PATH_PROTECT=/mnt/share/protect # drwxrwxr-x root share-protect
SMB_PATH_PUBLIC=/mnt/share/public # drwxrwxr-x guest share-public
SMB_PATH_TMP=/mnt/share/tmp # tmpfs # drwxrwxr-x guest share-public
# SMB_PATH_TMP's owner should be same as SMB_PATH_PUBLIC's
# SMB_PATH_PUBLIC's owner will be the SMB guest user
# media - jellyfin
MEDIA_PATH=/mnt/jellyfin/media
MEDIA_GNAME_EXTRA=("share-public") # MEDIA_GNAME_EXTRA=() if none
MEDIA_PUBLISHED_URL=media.example.com # Nullable
# aria2
# (SRV_NAME:SRV_PATH)
ARIA2_CONFS=("public:/srv/share/public/Downloads" "tmp:/srv/share/tmp")
# It's better to create these directories in advance. Otherwise, docker will create those as root