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
- Create a service from the cloudflared template
- Update your
CLOUDFLARE_TUNNEL_TOKEN (you can use any non-empty string to observe the bug)
- 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:
- Detect
network_mode: host in the template and disable isolated deployment automatically
- 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
Template Name
Cloudflared
Relevant Logs of the Error
Steps to Reproduce the Error
CLOUDFLARE_TUNNEL_TOKEN(you can use any non-empty string to observe the bug)When does this error occur?
During template deployment
Additional Context
Workaround is to simply disable isolated deployments.
Solutions could either be to:
network_mode: hostin the template and disable isolated deployment automaticallyAs an aside, I see this in the Plunk template:
templates/blueprints/plunk/template.toml
Lines 6 to 7 in d157cef
However, it does not do anything (isolated deployment is still enabled in settings).
Will you send a PR to fix it?
No