fix: update link docs to remove erroneous copy-paste
This commit is contained in:
10
README.md
10
README.md
@@ -224,7 +224,7 @@ DOKKU_REDIS_LOLLIPOP_PORT_6379_TCP_ADDR=172.17.0.1
|
|||||||
The following will be set on the linked application by default:
|
The following will be set on the linked application by default:
|
||||||
|
|
||||||
```
|
```
|
||||||
REDIS_URL=redis://lollipop:SOME_PASSWORD@dokku-redis-lollipop:6379/lollipop
|
REDIS_URL=redis://:SOME_PASSWORD@dokku-redis-lollipop:6379
|
||||||
```
|
```
|
||||||
|
|
||||||
The host exposed here only works internally in docker containers. If you want your container to be reachable from outside, you should use the `expose` subcommand. Another service can be linked to your app:
|
The host exposed here only works internally in docker containers. If you want your container to be reachable from outside, you should use the `expose` subcommand. Another service can be linked to your app:
|
||||||
@@ -243,13 +243,7 @@ dokku redis:link lollipop playground
|
|||||||
This will cause `REDIS_URL` to be set as:
|
This will cause `REDIS_URL` to be set as:
|
||||||
|
|
||||||
```
|
```
|
||||||
redis2://lollipop:SOME_PASSWORD@dokku-redis-lollipop:6379/lollipop
|
redis2://:SOME_PASSWORD@dokku-redis-lollipop:6379
|
||||||
```
|
|
||||||
|
|
||||||
If you specify `REDIS_DATABASE_SCHEME` to equal `http`, we`ll also automatically adjust `REDIS_URL` to match the http interface:
|
|
||||||
|
|
||||||
```
|
|
||||||
http://lollipop:SOME_PASSWORD@dokku-redis-lollipop:${PLUGIN_DATASTORE_PORTS[1]}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### unlink the redis service from the app
|
### unlink the redis service from the app
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ service-link-cmd() {
|
|||||||
#E
|
#E
|
||||||
#E the following will be set on the linked application by default:
|
#E the following will be set on the linked application by default:
|
||||||
#E
|
#E
|
||||||
#E ${PLUGIN_DEFAULT_ALIAS}_URL=${PLUGIN_SCHEME}://lollipop:SOME_PASSWORD@dokku-${PLUGIN_COMMAND_PREFIX}-lollipop:${PLUGIN_DATASTORE_PORTS[0]}/lollipop
|
#E ${PLUGIN_DEFAULT_ALIAS}_URL=${PLUGIN_SCHEME}://:SOME_PASSWORD@dokku-${PLUGIN_COMMAND_PREFIX}-lollipop:${PLUGIN_DATASTORE_PORTS[0]}
|
||||||
#E
|
#E
|
||||||
#E the host exposed here only works internally in docker containers.
|
#E the host exposed here only works internally in docker containers.
|
||||||
#E if you want your container to be reachable from outside, you should
|
#E if you want your container to be reachable from outside, you should
|
||||||
@@ -37,11 +37,7 @@ service-link-cmd() {
|
|||||||
#E dokku $PLUGIN_COMMAND_PREFIX:link lollipop playground
|
#E dokku $PLUGIN_COMMAND_PREFIX:link lollipop playground
|
||||||
#E this will cause ${PLUGIN_DEFAULT_ALIAS}_URL to be set as:
|
#E this will cause ${PLUGIN_DEFAULT_ALIAS}_URL to be set as:
|
||||||
#E
|
#E
|
||||||
#E ${PLUGIN_SCHEME}2://lollipop:SOME_PASSWORD@dokku-${PLUGIN_COMMAND_PREFIX}-lollipop:${PLUGIN_DATASTORE_PORTS[0]}/lollipop
|
#E ${PLUGIN_SCHEME}2://:SOME_PASSWORD@dokku-${PLUGIN_COMMAND_PREFIX}-lollipop:${PLUGIN_DATASTORE_PORTS[0]}
|
||||||
#E
|
|
||||||
#E If you specify ${PLUGIN_VARIABLE}_DATABASE_SCHEME to equal `http`, we'll also automatically adjust ${PLUGIN_DEFAULT_ALIAS}_URL to match the http interface:
|
|
||||||
#E
|
|
||||||
#E http://lollipop:SOME_PASSWORD@dokku-${PLUGIN_COMMAND_PREFIX}-lollipop:${PLUGIN_DATASTORE_PORTS[1]}
|
|
||||||
#A service, service to run command against
|
#A service, service to run command against
|
||||||
#A app, app to run command against
|
#A app, app to run command against
|
||||||
#F -a|--alias "BLUE_DATABASE", an alternative alias to use for linking to an app via environment variable
|
#F -a|--alias "BLUE_DATABASE", an alternative alias to use for linking to an app via environment variable
|
||||||
|
|||||||
Reference in New Issue
Block a user