因为abuse, reilwaiy已经屏蔽cloud*reve关键字,凡是出现了直接不能部署
如有任何问题,欢迎提issue
- 每日检查cloud*reve更新,并自动更新
- 本项目基于github action和railway cli
- 注册一个railway.app账号
- 生成一个新项目,注意是空项目
- 生成一个token,注意是你新建的这个项目,详情https://docs.railway.app/deploy/integrations#project-tokens
- 准备一个配置文件,详情https://docs.cloudreve.org/getting-started/config,下面给出最简单的配置
[System]
; 运行模式
Mode = master
; 监听端口
Listen = :80
Debug = false
; Session 密钥, 一般在首次启动时自动生成
SessionSecret = 123
; Hash 加盐, 一般在首次启动时自动生成
HashIDSalt = abc
如果直接这样,数据是不会保存的,最好的方式是使用mysql储存数据,达到数据持久化的效果 5. (可选)配置mysql,在railway的项目中添加一个mysql,mysql地址用户密码啥的可以到mysql详情中查看,然后把这个mysql配置写入配置文件中,另,可以使用自己的公网mysql,在这里推荐个免费mysqlhttps://planetscale.com
-
fork此项目
- 因为本项目每日都会更新部署,所有强烈建议用mysql保证数据持久化