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

Extend one-click-app templates to support service update overrides #1960

Open
adamshand opened this issue Dec 13, 2023 · 0 comments
Open

Extend one-click-app templates to support service update overrides #1960

adamshand opened this issue Dec 13, 2023 · 0 comments

Comments

@adamshand
Copy link

Is your feature request related to a problem? Please describe.

I'd like to be able to have one-click-apps mount remote storage as a Docker volume. For example, there is a Rclone plugin for Docker which allows the mounting of S3 buckets inside of containers. This allows containers which require persistent storage to be moved (or fail over) between swarm nodes.

More details at: #1956

Describe the solution you'd like

CapRover supports remote volumes via service update overrides, eg.

TaskTemplate:
  ContainerSpec:
    Mounts:
      - Type: volume
        Source: memos-rclone-b2
        Target: /var/opt/memos
        VolumeOptions: 
          DriverConfig:
            name: rclone
            Options:
              remote: b2:applications/memos
              vfs-cache-mode: full

However, there is currently no way to include a service override inside a one-click-app template.

If one-click-app templates were extended to support service overrides, this would allow easy provisioning of apps which require persistent storage in a way which also allows fail over between swarm nodes.

@adamshand adamshand changed the title Extend one-click-templates to support service update overrides Extend one-click-app templates to support service update overrides Dec 13, 2023
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

1 participant