feat: When installing from the app store, allow edits to the docker-compose file.
Is your feature request related to a problem? Please describe
I've been looking for a decent selfhosting mangaement tool that didn't over complicate things. I think swiftwave maybe it. Coolify had promise but has way to many bugs.
That said coolify has a cool feature where you can directly edit the docker-compose file for their apps.
I know i could just go to the git repo, find the compose file, and use it... but its a convenience thing. Also it helps me see what is really happening under the hood.
Describe the solution you'd like
Have a "edit compose file" button in the "install application" configuration pages:
Here is how coolify does it:
Are you working on this?
No
Hi @that0n3guy We don't use compose file for deployment. We have derived a common specification from Docker Compose v3 spec, we have many custom things in that spec itself, also doesn't support everything of compose v3 spec.
So, giving option to edit makes no sense, but option to view compose file can be added.
You can take a look at the spec files for deployable apps > https://github.com/swiftwave-org/app-store
Also, currently tried to build v3 of Swiftwave, so might not add new stuff myself to avoid any buggy behaviours. Community contributions are welcome.
Thanks for the fast response. Thats my bad, I assumed that your stacks were just an extended version of compose. What I'm looking for is the ability to quickly create a stack I guess and be able to see what is going on in the stack.
For example, I can take your postgres stack (from the app-store) and modify it very quickly to use supabase/postgres (just so I can have the pg extensions)....
But doing this doesn't work as the stack needs filled out:
So is there a way to quickly modify the app-store stack and use it, you can see in the example above I would probably just make 1 or 2 small changes to you stack to use the supabase/postgres image... (version, image, volume location in container)
@that0n3guy
If that's a specific need, it's better to commit those changes in app store directly. In app store, you can add multiple version of same app.
For example, if you want to add two versions of postgres image, so that the user can choose one during installation. Something like this can be added - https://github.com/swiftwave-org/app-store/blob/7f9070372b6ab49150db10fb8d0c52c46265e5b1/stacks/immich.yaml#L62-L73
@tanmoysrt that makes sense. That probably leads to my other post then: https://github.com/swiftwave-org/swiftwave/issues/1240
Docs on how to do it might be good enough.