威联通 Container Station 容器工作站在 Docker コンテナの作成時に Docker Compose をサポートしており、アプリケーションの更新や作成が非常に簡単です。YAML 設定ファイルを編集して一度に完了します!方法は非常に簡単です:
注意:アプリケーション名に大文字は使用しないでください。
以下にいくつかのコードを添付します:
version: '3.8'
services:
linuxserver:
container_name: Emby
network_mode: bridge
environment:
-
PUID=1000
-
PGID=0
-
TZ=Asia/Shanghai
volumes:
-
'/share/Container/Emby:/config'
-
'/share/Video:/Video'
-
'/share/Music:/Music'
devices:
- '/dev/dri:/dev/dri'
restart: unless-stopped
image: 'linuxserver/emby'
version: '3.8'
services:
transmission:
container_name: transmission
environment:
-
PUID=1000
-
PGID=0
-
TZ=Asis/Shanghai
-
TRANSMISSION_WEB_HOME=/ui
network_mode: bridge
volumes:
-
'/share/Container/transmission/config:/config'
-
'/share/Container/transmission/watch:/watch'
-
'/share/Container/transmission/ui:/ui'
-
'/share/Down1:/Down1'
-
'/share/Down2:/Down2'
-
'/share/Down3:/Down3'
-
'/share/Down4:/Down4'
-
'/share/Down5:/Down5'
-
'/share/Down6:/Down6'
-
'/share/Down7:/Down7'
restart: unless-stopped
image: 'linuxserver/transmission'
version: '3.8'
services:
linuxserver:
container_name: qbittorrent
network_mode: bridge
environment:
-
PUID=1000
-
PGID=0
-
TZ=Asis/Shanghai
-
WEBUI_PORT=8080
ports:
- '8080:8080'
volumes:
-
'/share/Container/qbittorrent/config:/config'
-
'/share/Container/qbittorrent/ui:/ui'
-
'/share/Down1:/Down1'
-
'/share/Down2:/Down2'
-
'/share/Down3:/Down3'
-
'/share/Down4:/Down4'
-
'/share/Down5:/Down5'
-
'/share/Down6:/Down6'
-
'/share/Down7:/Down7'
restart: unless-stopped
image: 'linuxserver/qbittorrent'
version: '3.8'
services:
nas-tools:
container_name: NasTools
hostname: nas-tools
network_mode: bridge
ports:
- '3000:3000'
volumes:
-
'/share/Container/NasTools/config:/config'
-
'/share/Video:/video'
environment:
-
PUID=1000
-
PGID=0
-
UMASK=000
-
NASTOOL_AUTO_UPDATE=false
-
NASTOOL_CN_UPDATE=false
restart: unless-stopped
image: hsuyelin/nas-tools