-
-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
Description
Is your feature request related to a problem? Please describe
Usually for any kind of app, if we need to execute some operations like backup, restore, other options, we will attach to docker container and run some commands. In fewer cases, we also need to refer service configuration in database (like postgresql DSN)
Describe the solution you'd like
We need to extend the docs of stack, where we can provide this custom action buttons.
Specs will be like
- Button Name
- Required Inputs
- Name of Input
- Description
- Type of Input (Text, Number, Dropdown)
- Output
- Title
- Description
- Type (Text, File [Temporary, will be destroyed after download])
- Message
- Success Message
- Error Message
- Warning before executing Message
- Command
- Type (Exec, Text Interpolation)
- Command / Text Format
- It can have specific syntax and will be replaced by swiftwave before executing, like
$env.<variable_name>
Note: If in any case, we need to store thing in file, using exec store in a temp directory and later use docker cp to copy from container to host and then from host using rsync, move to swiftwave node
Are you working on this?
Yes