mirror of https://github.com/docker/docs.git
Update 10_provision_a_data_backend_for_your_service.md (#2465)
This commit is contained in:
parent
f2c7b3d54b
commit
9127e313ee
|
@ -27,7 +27,7 @@ $ docker-cloud service run \
|
|||
--name redis \
|
||||
redis
|
||||
```
|
||||
**--env REDIS_PASS="password"** defines an environment variable that sets the password for Redis. Because we are not publishing any ports for this service only services **linked** to your *Redis service* will be able to connect to it.
|
||||
**--env REDIS_PASS="password"** defines an environment variable that sets the password for Redis. Because we are not publishing any ports for this service, only services **linked** to your *Redis service* will be able to connect to it.
|
||||
|
||||
Use `docker-cloud service ps` to check if your new redis service is *running*. This might take a minute or two.
|
||||
|
||||
|
@ -68,4 +68,4 @@ Hello World</br>Hostname: web-3</br>Counter: 5%
|
|||
|
||||
## What's Next?
|
||||
|
||||
Next, we'll look at [Stackfiles for your service](11_service_stacks.md)
|
||||
Next, we'll look at [Stackfiles for your service](11_service_stacks.md).
|
||||
|
|
Loading…
Reference in New Issue