Skip to content

Templates should have the ability to opt-out from isolated deployments #852

@nktnet1

Description

@nktnet1

Template Name

Cloudflared

Relevant Logs of the Error

service cloudflared declares mutually exclusive network_mode and networks: invalid compose project

Steps to Reproduce the Error

  1. Create a service from the cloudflared template
  2. Update your CLOUDFLARE_TUNNEL_TOKEN (you can use any non-empty string to observe the bug)
  3. Deploy and observe the error

When does this error occur?

During template deployment

Additional Context

Workaround is to simply disable isolated deployments.

Solutions could either be to:

  1. Detect network_mode: host in the template and disable isolated deployment automatically
  2. Add a method to configure the template with isolated deployment off

As an aside, I see this in the Plunk template:

However, it does not do anything (isolated deployment is still enabled in settings).

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions