某老头的折腾笔记

Docker Compose在威联通中的应用

威联通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'
来自为知笔记(Wiz)
赞(0) 打赏
未经允许不得转载:一个锤子 » Docker Compose在威联通中的应用

评论 抢沙发