Skip to content

Commit ac23591

Browse files
documentation
1 parent 412acda commit ac23591

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,11 @@ In this example, the Compose File is also in the home directory, referenced rela
251251
# ~/dockerized.env
252252
COMPOSE_FILE="${COMPOSE_FILE};${HOME}/docker-compose.yml"
253253
```
254-
254+
255+
```yaml
256+
# ~/docker-compose.yml
257+
```
258+
255259
**Per Project**
256260

257261
To change settings within a specific directory, create a file `dockerized.env` in the root of that directory, which loads the extra Compose File. `${DOCKERIZED_PROJECT_ROOT}` refers to the absolute path to the root of the project.
@@ -261,11 +265,14 @@ To change settings within a specific directory, create a file `dockerized.env` i
261265
COMPOSE_FILE="${COMPOSE_FILE};${DOCKERIZED_PROJECT_ROOT}/docker-compose.yml"
262266
```
263267

268+
```yaml
269+
# ./docker-compose.yml
270+
```
271+
264272
### Adding custom commands
265273

266-
Your custom compose file can be called whatever you want. Just make sure it is in the `${COMPOSE_FILE}` variable.
274+
After adding your custom Compose File to `COMPOSE_FILE`, you can add your own commands.
267275

268-
Adding a new command to the Compose File:
269276
```yaml
270277
# docker-compose.yml
271278
version: "3"
@@ -275,7 +282,9 @@ services:
275282
entrypoint: ["du"]
276283
```
277284

278-
>Now you can run `dockerized du` to see the size of the current directory.
285+
> Now you can run `dockerized du` to see the size of the current directory.
286+
287+
> To learn how to support versioning, see [Development Guide: Configurable Version](DEV.md#configurable-version).
279288

280289
You can also mount a directory to the container:
281290

0 commit comments

Comments
 (0)