docs: add example for multiple networks

This commit is contained in:
Jose Diaz-Gonzalez
2023-02-07 16:09:41 -05:00
parent c0a393a7af
commit ab0d871347
2 changed files with 8 additions and 0 deletions

View File

@@ -264,6 +264,12 @@ Set the network to attach after the service container is started:
dokku redis:set lollipop post-create-network custom-network dokku redis:set lollipop post-create-network custom-network
``` ```
Set multiple networks:
```shell
dokku redis:set lollipop post-create-network custom-network,other-network
```
Unset the post-create-network value: Unset the post-create-network value:
```shell ```shell

View File

@@ -9,6 +9,8 @@ source "$(cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")" && pwd)/common-functi
service-set-cmd() { service-set-cmd() {
#E set the network to attach after the service container is started #E set the network to attach after the service container is started
#E dokku $PLUGIN_COMMAND_PREFIX:set lollipop post-create-network custom-network #E dokku $PLUGIN_COMMAND_PREFIX:set lollipop post-create-network custom-network
#E set multiple networks
#E dokku $PLUGIN_COMMAND_PREFIX:set lollipop post-create-network custom-network,other-network
#E unset the post-create-network value #E unset the post-create-network value
#E dokku $PLUGIN_COMMAND_PREFIX:set lollipop post-create-network #E dokku $PLUGIN_COMMAND_PREFIX:set lollipop post-create-network
#A service, service to run command against #A service, service to run command against