From de09675d851eb5fbf22f370a16120f33ebba780b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 16 Jun 2023 23:40:38 -0400 Subject: [PATCH] docs: add a note for each network type mentioning when they are best used --- docs/networking/network.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/networking/network.md b/docs/networking/network.md index f81d9f7ed..899a97ded 100644 --- a/docs/networking/network.md +++ b/docs/networking/network.md @@ -161,12 +161,15 @@ Apps will default to being associated with the default `bridge` network or a net ```shell # associates the network after a container is created but before it is started +# commonly used for cross-app networking dokku network:set node-js-app attach-post-create test-network # associates the network after the deploy is successful but before the proxy is updated +# used for cross-app networking when healthchecks must be invoked first dokku network:set node-js-app attach-post-deploy other-test-network # associates the network at container creation +# typically blocks access to services and external routing dokku network:set node-js-app initial-network global-network ```