From aea7c0c60ba56d6263e453b21152724722753a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zaj=C4=85c?= Date: Tue, 17 Sep 2019 20:43:40 +0200 Subject: [PATCH] Mention --skip-env-file switch in the dotenv docs This should be merged (or closed) along with https://github.com/docker/compose/pull/6850 --- compose/env-file.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compose/env-file.md b/compose/env-file.md index f543f32bcaa5..0aa5309b187f 100644 --- a/compose/env-file.md +++ b/compose/env-file.md @@ -6,7 +6,9 @@ title: Declare default environment variables in file Compose supports declaring default environment variables in an environment file named `.env` placed in the folder where the `docker-compose` command is executed -*(current working directory)*. +*(current working directory)*. + +If you do not wish for Compose to read your `.env` file - use `--skip-env-file` option. ## Syntax rules