Skip to content

Request: Add Optional Parameter to Skip Volume/Network on Destroy #56

Description

@patbakdev

I generally use contexts.<name>.volumes for filesets and volumes that contain config files and declare volumes in the compose file that contain data files to avoid purging that data when I destroy a stack. I prefer to always delete data volumes manually. It would be nice to be able to also declare those volumes in the dockform.yaml with an additional option to ignore them. While I don't do this at the moment for networks, it seems like this could also apply there as well.

For Example:

contexts:
  default:
    networks:
      network-1:
      network-2:
        destroy: false
    volumes:
      config-volume:
      data-volume:
        destroy: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions