feat: add support for specifying an initial-network property
This network is the network that is associated with the container on creation. If specified, then the bridge network is not attached to the service. Only a single initial network can be specified at this time.
This commit is contained in:
20
README.md
20
README.md
@@ -44,6 +44,7 @@ postgres:logs <service> [-t|--tail] <tail-num-optional> # print the most recent
|
||||
postgres:pause <service> # pause a running postgres service
|
||||
postgres:promote <service> <app> # promote service <service> as DATABASE_URL in <app>
|
||||
postgres:restart <service> # graceful shutdown and restart of the postgres service container
|
||||
postgres:set <service> <key> <value> # set or clear a property for a service
|
||||
postgres:start <service> # start a previously stopped postgres service
|
||||
postgres:stop <service> # stop a running postgres service
|
||||
postgres:unexpose <service> # unexpose a previously exposed postgres service
|
||||
@@ -256,6 +257,25 @@ You can unlink a postgres service:
|
||||
dokku postgres:unlink lollipop playground
|
||||
```
|
||||
|
||||
### set or clear a property for a service
|
||||
|
||||
```shell
|
||||
# usage
|
||||
dokku postgres:set <service> <key> <value>
|
||||
```
|
||||
|
||||
Set the network to attach after the service container is started:
|
||||
|
||||
```shell
|
||||
dokku postgres:set lollipop post-create-network custom-network
|
||||
```
|
||||
|
||||
Unset the post-create-network value:
|
||||
|
||||
```shell
|
||||
dokku postgres:set lollipop post-create-network
|
||||
```
|
||||
|
||||
### Service Lifecycle
|
||||
|
||||
The lifecycle of each service can be managed through the following commands:
|
||||
|
||||
Reference in New Issue
Block a user