Skip to content

fix: docker external network declaration - #6

Open
guillaumemichel wants to merge 1 commit into
DoTheEvo:masterfrom
guillaumemichel:guillaumemichel-docker-external-network
Open

fix: docker external network declaration#6
guillaumemichel wants to merge 1 commit into
DoTheEvo:masterfrom
guillaumemichel:guillaumemichel-docker-external-network

Conversation

@guillaumemichel

Copy link
Copy Markdown

External networks in docker compose should be declared as follow (source):

networks:
  default:
    name: $DEFAULT_NETWORK
    external: true

rather than

networks:
  default:
    external:
      name: $DEFAULT_NETWORK

Current configs trigger the warning:

WARN[0000] network default: network.external.name is deprecated. Please set network.name with external: true 

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

Successfully merging this pull request may close these issues.

1 participant