You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

647 B

ALIST 安装

配置文件

创建路径

mkdir -p /usr/local/alist/data

COMPOSE 文件

cat > /usr/local/alist/docker-compose.yml <<'EOF'
version: '3'
services:
    alist:
        image: 'xhofe/alist:latest'
        container_name: alist
        volumes:
            - './data:/opt/alist/data'
        ports:
            - 9006:5244
        environment:
            - PUID=0
            - PGID=0
            - UMASK=022
        restart: unless-stopped

EOF

启动

cd /usr/local/alist/ && docker-compose up -d

启动或重置密码

docker exec -it alist ./alist admin random