设置 gitea 初始配置
当我像这样使用 docker 安装 gitea 时 https://docs.gitea.io /en-us/install-with-docker/ 总是我必须访问 http://localhost:3000/install 并单击“安装 gitea”才能真正完成安装。
之后我必须访问 http://localhost:3000/user/sign_up 并注册一个用户。
有什么办法可以通过命令行而不是手动进行吗?
我正在寻找的是一个脚本,该脚本可以在 docker 中运行干净的 gitea 安装,准备启动,而无需填写 http://localhost:3000/install 和 http://localhost:3000/user/sign_up
When I install gitea with docker like that https://docs.gitea.io/en-us/install-with-docker/ always I have to visit http://localhost:3000/install and click "Install gitea" to really finish installation.
After that I have to visit http://localhost:3000/user/sign_up and register a user.
Is there any way to make it by command line instead of manually?
What I looking for is a script that run a clean gitea installation in docker ready to start without have to fill http://localhost:3000/install and http://localhost:3000/user/sign_up
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你可以像这样发出一个curl请求:
you can make a curl request like this: