[新软件] alist in synology

date
Feb 21, 2024
slug
newsoftware-synology-rclonebrowser-docker
status
Published
summary
新软件 群晖 alist
tags
software
type
Post
URL
 
notion image

Summary

安装过程

sudo -i
cd /volume1/docker
export DOCKER_PROJ=alist
mkdir $DOCKER_PROJ
cd $DOCKER_PROJ
mkdir data

#export DOCKER_PROJ_DOMAIN=$DOCKER_PROJ.xxxx.synology.me

cat > docker-compose.yml <<EOF
version: '3.3'
services:
  alist:
    restart: always
    volumes:
      - ./data:/opt/alist/data
      - ./mount:/mount
      - /volume1/webdav_remote:/sh88qh/webdav_remote
      - /volume1/sss:/sh88qh/sss
      - /volume1/movie:/sh88qh/movie
    ports:
      - '55244:5244'
      - '55245:5245'
    environment:
      - PUID=0
      - PGID=0
      - UMASK=022
      - TZ=Asia/Shanghai
    container_name: alist
    image: xhofe/alist-aria2:latest
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f

添加存储 

阿里云盘Open(官方模式)

notion image

115 - https://alist.nn.ci/zh/guide/drivers/115.html#qrcode-扫码方式登录

notion image
notion image

夸克网盘- https://alist.nn.ci/zh/guide/drivers/quark.html

天翼云盘 - https://alist.nn.ci/zh/guide/drivers/189.html

  • 选电话+密码,个人云登陆

配置aria和qBittorrent

notion image

自建alist proxy代理

vi /usr/lib/systemd/system/alist-proxy.service


[Unit]
Description=alist
After=network.target
 
[Service]
Type=simple
WorkingDirectory=path_alist
#ExecStart=path_alist/alist server
ExecStart=path_alist/alist-proxy -address http(s)://alist.your-own-site.com -token alist-5229xxxxxxxxxxxxxxxYFnL
Restart=on-failure
 
[Install]
WantedBy=multi-user.target



然后,执行 systemctl daemon-reload 重载配置,现在你可以使用这些命令来管理程序:

启动: systemctl start alist
关闭: systemctl stop alist
配置开机自启: systemctl enable alist
取消开机自启: systemctl disable alist
状态: systemctl status alist
重启: systemctl restart alist

© Ying Bun 2021 - 2024