威联通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'
- '/share/音乐:/Music'
devices:
- '/dev/dri:/dev/dri'
restart: unless-stopped
image: 'linuxserver/emby:beta-version-4.9.0.24'
version: '3.9'
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/downloads:/downloads'
restart: unless-stopped
image: 'linuxserver/transmission:latest'
version: '3.8'
services:
linuxserver:
container_name: qbittorrent3
network_mode: bridge
environment:
- PUID=1000
- PGID=100
- TZ=Asis/Shanghai
- WEBUI_PORT=8060
ports:
- '8060:8060'
volumes:
- '/share/Container/qbittorrent/config:/config'
- '/share/Container/qbittorrent/ui:/ui'
- '/share/downloads:/downloads'
restart: unless-stopped
image: 'linuxserver/qbittorrent:latest'