Giter Club home page Giter Club logo

alist-aria2-render's Introduction

Alist+Aria2-Render

鸣谢

项目介绍

本项目基于官方修改并且进行了缝合而来,为了帮助您更快捷易懂的部署AList+Aria2在Render上 ,如果是之前Fork的仓库记得更新你Fork的分支

图文教程

注意

您需要修改一下.yaml文件的git地址,改为您fork仓库的您的仓库https地址

并且您需要在环境变量中添加

  "PORT": "5244"

一键部署到Render

Deploy to Render

数据库

您可能需要使用另一个远程 MySQL 数据库 或是 PostgreSQL 数据库,因为默认的sqlite重新部署将丢失您的全部数据。

下面是一些免费数据库:

如何更改数据库?

在 Environment 中添加变量。

数据库是私有的,因此您无需担心泄露数据。(只要您没有不小心泄露了数据库密码账号)

MySQL数据库示例(注意不要带“”号)

  "DB_TYPE":"mysql",
  "DB_HOST":"sql.com",
  "DB_PORT":"3306",
  "DB_USER":"账号",
  "DB_PASS":"密码",
  "DB_NAME":"数据库名称",
  "DB_TABLE_PREFIX":"alist_",
  "DB_SSL_MODE":"true"

PostgreSQL

  "DB_TYPE": "postgres",
  "DB_HOST": "sql.com",
  "DB_PORT": "5432",
  "DB_USER": "账号",
  "DB_PASS": "密码",
  "DB_NAME": "数据库名称",
  "DB_TABLE_PREFIX": "alist_",
  "DB_SSL_MODE": "require"

db4free示例 https://db4free.net

  "DB_TYPE": "mysql", 
  "DB_HOST": "db4free.net", 
  "DB_PORT": "3306", 
  "DB_USER": "账号", 
  "DB_PASS": "密码", 
  "DB_NAME": "数据库名称", 
  "DB_TABLE_PREFIX": "alist_", 
  "DB_SSL_MODE": "false" 

更多变量及说明请参考: https://github.com/alist-org/alist/blob/main/internal/conf/config.go

https://alist.nn.ci/zh/config/configuration.html

密码

未接入数据库时密码在logs中生成,接入数据库以后请查看您的数据库生成的文件

alist-aria2-render's People

Contributors

v-official-233 avatar

Forkers

zheyeshiyu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.