-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add soketi-app-manager service template 🚀 #4797
base: next
Are you sure you want to change the base?
Add soketi-app-manager service template 🚀 #4797
Conversation
I think it would make more sense if the database Postgres and probably Redis and so on where in the compose directly as well and use our magic envs for stuff like passwords and so on so it is truly one click. Can you change that please? |
@peaklabs-dev thank you for your thoughtful feedback. I thought of that as well. However soketi server and my app, both can work with mysql and postgresql. My app doesn't require redis but expects soketi to be run with redis. All of these have separate services under Coolify. Considering everything, finally I went with the bare-bone app leaving other choices to users. Thought my repo will contain instructions on how to set things up. Let me know what do you think of it. Also, do you have any suggestion on how to automate the laravel app key generation if any. Edit: You can have a look at the original compose file here. The only difference is the comments. |
@peaklabs-dev as I was exploring other templates, I found that I can follow the WordPress approach as well. It has two services with and without database. That's one option. To make my app truly one clickable service, I can include soketi server as well and configure nginx to forward websocket request to soketi exposing only one port and domain. But this will make it less flexible and scalable to users. In any case I'll wait for your feedback. Thank you. |
|
So, will the current pull request need any changes from your perspective? Name change (such as - without-database or auto app key generation), anything? The user will have to drop to terminal anyway to migrate the database.
Will need some time and proper testing. It would be nice to offer the bare-bone one in Coolify to see how people prefer to use it. Right now I don't have any idea which approach is the best for general use.
Sure. Will keep that in mind. |
Yes, the App Key should be auto generated, and migrations can be automated with a entry point script. |
Auto migration of database working fine on first try. However the app key generation by Coolify magic variable not working as expected. Always getting this error - Edit: I mean |
@peaklabs-dev any update on the APP_KEY generation? I've pushed some changes related to auto migration. |
Submit Checklist (REMOVE THIS SECTION BEFORE SUBMITTING)
next
branch as the destination for my PR, notmain
.Changes
section.Issues
section with the issue/discussion link(s) (if applicable).Changes
Issues