From b53ca5e3d965c9179184ebb1b2c80b6437ea95fe Mon Sep 17 00:00:00 2001 From: Samuel Krieg Date: Wed, 1 May 2024 12:22:51 +0200 Subject: [PATCH 1/3] doc: .gitignore --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7a70bf0..5411c24 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,15 @@ Your project structure might looke like this: │   └── test/ │   └── ... same ├── .env +├── .gitignore └── docker-compose.yml ``` +``` +$ cat .gitignore: +/envs/*/.configs.env +``` + ## Build ``` From fd8a5bfd1d67388cca3d000fd13f3c6613a314c3 Mon Sep 17 00:00:00 2001 From: Samuel Krieg Date: Wed, 1 May 2024 12:22:58 +0200 Subject: [PATCH 2/3] doc: env-files --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5411c24..340304f 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,12 @@ Your project **must** contain these files: Your project **can** contain these files: * **dotenv files** are any file that ends with `.env`. - They can be placed at the root of the project or inside a environment directory. - The latter takes precedence. + They are read in this order: + + 1. at the root of the project + 1. inside a environment directory. + 1. `~/.secrets/containers/${STACK_NAME}.env` is read by stackzou. + The files `/envs/*/.configs.env` are reserved for Stackzou. * **`/configs/`** is the directory where the "Docker Configs" files are stored. Stackzou reads the content of this directory and creates a "Docker Config" with each file it finds. From 6d6bd0bf2b9444575ec0b6b6aaa2c49c87620fcc Mon Sep 17 00:00:00 2001 From: Samuel Krieg Date: Wed, 1 May 2024 12:24:16 +0200 Subject: [PATCH 3/3] doc: italic --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 340304f..72c53db 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Your project **must** contain these files: Each subdirectory is considered an environment and must contain a `docker-compose.override.yml` file with the values specific to its environment. -Your project **can** contain these files: +Your project *can* contain these files: * **dotenv files** are any file that ends with `.env`. They are read in this order: