feat: add pre and post commands support

- add pre-command execution before running docker compose
- add post-command execution after running docker compose
- update config.yml.example to include pre and post commands

🤖
This commit is contained in:
Sebastian Mark 2023-12-19 22:24:35 +01:00
parent 18cce050e2
commit 4ee278dd86
2 changed files with 29 additions and 0 deletions

View file

@ -9,4 +9,7 @@ stacks:
- subdirA/docker-compose.yml
- subdirB/docker-compose.yml
- dir: /path/to/fourth-repo
pre: "make"
post: "make clean"
- dir: /path/to/fifth-repo
enabled: false