Skip to content
Discussion options

You must be logged in to vote

Hi @delacosta456! I'm Dosu and I’m helping the dokploy team.

Dokploy intentionally manages networks for its services, which is why it overrides what you specify in your docker-compose.yml. By default, all services are attached to a shared network called dokploy-network so that Traefik can route traffic to them [1].

If you want to use a custom network, here's the workaround:

  1. Manually create the network on your server first:

    docker network create --driver bridge --attachable my_custom_network
  2. Reference it as an external network in your docker-compose.yml:

    services:
      myservice:
        image: your-image:latest
        networks:
          - my_custom_network
    
    networks:
      my_custom_network:
        exte…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by delacosta456
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant