You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: compose/reference/envvars.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,10 @@ Docker command-line client. If you're using `docker-machine`, then the `eval "$(
14
14
15
15
## COMPOSE\_PROJECT\_NAME
16
16
17
-
Sets the project name. This value is prepended along with the service name to the container container on start up. For example, if you project name is `myapp` and it includes two services `db` and `web` then compose starts containers named `myapp_db_1` and `myapp_web_1` respectively.
17
+
Sets the project name. This value is prepended along with the service name to
18
+
the container on start up. For example, if you project name is `myapp` and it
19
+
includes two services `db` and `web` then compose starts containers named
20
+
`myapp_db_1` and `myapp_web_1` respectively.
18
21
19
22
Setting this is optional. If you do not set this, the `COMPOSE_PROJECT_NAME`
20
23
defaults to the `basename` of the project directory. See also the `-p`
@@ -87,4 +90,4 @@ Users of Docker Machine and Docker Toolbox on Windows should always set this.
Copy file name to clipboardexpand all lines: docker-cloud/apps/service-links.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ Environment variables specified in the service definition are instantiated in ea
118
118
119
119
These environment variables are prefixed with the `HOSTNAME_ENV_` in each container.
120
120
121
-
In our example, if we launch our `my-web-app` service with an environment variable of `WEBROOT=/login`, the following environment variables are set and available available in the proxy containers:
121
+
In our example, if we launch our `my-web-app` service with an environment variable of `WEBROOT=/login`, the following environment variables are set and available in the proxy containers:
122
122
123
123
| Name | Value |
124
124
|:------------------|:---------|
@@ -161,4 +161,4 @@ Where:
161
161
162
162
These environment variables are also copied to linked containers with the `NAME_ENV_` prefix.
163
163
164
-
If you provide API access to your service, you can use the generated token (stored in `DOCKERCLOUD_AUTH`) to access these API URLs to gather information or automate operations, such as scaling.
164
+
If you provide API access to your service, you can use the generated token (stored in `DOCKERCLOUD_AUTH`) to access these API URLs to gather information or automate operations, such as scaling.
Use either of the URLs from the `container ps` command to visit one of your service's containers, either using your browser or curl.
55
55
56
-
In the example output above, the URL `web-1.my-username.cont.dockerapp.io:49162` reaches the web app on the first container, and `web-2.my-username.cont.dockerapp.io:49156` reaches the web app on the the second container.
56
+
In the example output above, the URL `web-1.my-username.cont.dockerapp.io:49162` reaches the web app on the first container, and `web-2.my-username.cont.dockerapp.io:49156` reaches the web app on the second container.
57
57
58
58
If you use curl to visit the pages, you should see something like this:
Copy file name to clipboardexpand all lines: docker-cloud/infrastructure/link-do.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -28,4 +28,4 @@ Once you log in, a message appears prompting you to confirm the link.
28
28
29
29
## What's next?
30
30
31
-
You're ready to start using using DigitalOcean as the infrastructure provider for Docker Cloud! If you came here from the tutorial, click here to [continue the tutorial and deploy your first node](../getting-started/your_first_node.md).
31
+
You're ready to start using DigitalOcean as the infrastructure provider for Docker Cloud! If you came here from the tutorial, click here to [continue the tutorial and deploy your first node](../getting-started/your_first_node.md).
* Try out the [Getting Started with Docker](/engine/getstarted/index.md) tutorial.
278
278
279
-
* Dig in deeper with [learn by example](/engine/tutorials/index.md) tutorials on on building images, running containers, networking, managing data, and storing images on Docker Hub.
279
+
* Dig in deeper with [learn by example](/engine/tutorials/index.md) tutorials on
280
+
building images, running containers, networking, managing data, and storing
281
+
images on Docker Hub.
280
282
281
283
* See [Example Applications](examples.md) for example applications that include setting up services and databases in Docker Compose.
0 commit comments