mkdir -p ~/docker-app/toran-proxy/data
cd ~/docker-app/toran-proxy
;放入以下兩個文件
docker-compose up -dgit
docker-compose.ymlgithub
version: '2' services: toran-proxy: image: cedvan/toran-proxy ports: - "81:80" volumes: - ./data/:/data/toran-proxy/ - ./sources.list:/etc/apt/sources.list environment: - PHP_TIMEZONE=Asia/Shanghai - TORAN_HOST=127.0.0.1:81 - TORAN_TOKEN_GITHUB=本身的github token
sources.listdocker
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse