Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装方式不兼容docker部署 #756

Open
w7team opened this issue Dec 29, 2023 · 3 comments
Open

安装方式不兼容docker部署 #756

w7team opened this issue Dec 29, 2023 · 3 comments

Comments

@w7team
Copy link

w7team commented Dec 29, 2023

目前docker部署完,还需要进去install页面填写数据库信息,reids信息还需要进env文件里修改,很不友好,想做成一键部署也比较困难。

希望能支持docker以环境变量的形式传入数据库信息和redis信息,install页面直接调用传入的环境变量,实现用户无需任何修改一键安装。

或者可以支持cli模式执行命令安装,方便第三方做成一键部署

@w7team
Copy link
Author

w7team commented Dec 29, 2023

php artisan lsky:install --connection=mysql --host=your_database_host --port=your_database_port --database=your_database_name --username=your_database_username --password=your_database_password

命令行安装是这么用吗?

@wisp-x
Copy link
Collaborator

wisp-x commented Dec 29, 2023

程序根目录存在 installed.lock 文件就会跳过安装,只要保证 .env 文件内容正确就行。

@rainsum2022
Copy link

我自己也在用docker部署,没啥问题,数据库信息什么的这种东西也不是经常变动的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants