The fastest way to deploy the alist to repl.it
is to click the run on repl.it
button below.
You may need to use another remote MySQL/Postgres database as local sqlite3 is public for everyone. Some Free MySQL/Postgres Databases:
- 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/
How to change the database?
Switch to
secrets
tab then editSystem environment variables
.You can also edit raw json:{ "DB_TYPE":"mysql", "DB_HOST":"sql.com", "DB_PORT":"3306", "DB_USER":"alist", "DB_PASS":"password", "DB_NAME":"alist", "DB_TABLE_PREFIX":"alist_", "DB_SSL_MODE":"true" }The secrets is private so you don't need to worry about leaking your data.
Sample Config https://bit.io/
{ "DB_TYPE": "postgres", "DB_HOST": "db.bit.io", "DB_PORT": "5432", "DB_USER": "user", "DB_PASS": "password", "DB_NAME": "user/alist", "DB_TABLE_PREFIX": "alist_", "DB_SSL_MODE": "require" }
The initial password is randomly generated, and you can get it by checking the console logs.