Pārlūkot izejas kodu

Export COMPOSE_FILE

The environment variable is not used by `docker-compose` without the `export` line..

Signed-off-by: Berk Birand <[email protected]>
Berk Birand 10 gadi atpakaļ
vecāks
revīzija
a57ce1b1ba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      docs/production.md

+ 1 - 1
docs/production.md

@@ -40,7 +40,7 @@ For this reason, you'll probably want to define a separate Compose file, say
 Once you've got an alternate configuration file, make Compose use it
 by setting the `COMPOSE_FILE` environment variable:
 
-    $ COMPOSE_FILE=production.yml
+    $ export COMPOSE_FILE=production.yml
     $ docker-compose up -d
 
 > **Note:** You can also use the file for a one-off command without setting