本项目基于官方修改而来,为了帮助您更快捷易懂的部署AList+Aria2在Render上
您需要修改一下.yaml文件的git地址,改为您fork仓库的您的仓库https地址
您可能需要使用另一个远程 MySQL 数据库,因为默认的sqlite重新部署将丢失您的全部数据。
下面是一些免费数据库:
- https://db4free.net/
- https://remotemysql.com/
- https://www.freesqldatabase.com/
- https://planetscale.com/
- https://bit.io/
- https://www.elephantsql.com/
- https://scalingo.com/
- http://cloud.yugabyte.com/
如何更改数据库?
在 Environment 中添加变量。
数据库是私有的,因此您无需担心泄露数据。(只要您没有不小心泄露了数据库密码账号)
"DB_TYPE":"mysql", "DB_HOST":"sql.com", "DB_PORT":"3306", "DB_USER":"账号", "DB_PASS":"密码", "DB_NAME":"数据库名称", "DB_TABLE_PREFIX":"alist_", "DB_SSL_MODE":"true"
bit数据库示例 https://bit.io
"DB_TYPE": "postgres", "DB_HOST": "db.bit.io", "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"
未接入数据库时密码在logs中生成,接入数据库以后请查看您的数据库生成的文件