Skip to content

Cloudflared with network_mode: host cant be deployed #4366

@M4rshe1

Description

@M4rshe1

To Reproduce

  1. Select Cloudfalred Template
  2. Configure env
  3. Deploy

Current vs. Expected behavior

Dokpoy adds networks to the cloudfared container that has network_mode: host

The compose that is generated by Dokpoy should not add networks to a container if it has the network_mode: host key set.

Provide environment information

OS: Debian GNU/Linux 12 (bookworm)
arch: aarch64
Hardware: Pi5 8gb
Dokploy Version: v0.29.2
Serviece: Cloudflared

Which area(s) are affected? (Select all that apply)

Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

#663

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions