feat: fix exit hook and cleanup docker scripts (#758)

* feat: cleanup docker scripts

* feat: make logging directory if non-existent to fix stop behavior
This commit is contained in:
Eli Bosley
2024-01-03 12:12:37 -05:00
committed by GitHub
parent 3e95bb259f
commit 33c69bf76f
8 changed files with 38 additions and 21 deletions

4
api/scripts/dc.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
# Pass all entered params after the docker-compose call
GIT_SHA=$(git rev-parse --short HEAD) IS_TAGGED=$(git describe --tags --abbrev=0 --exact-match || echo '') docker-compose -f docker-compose.yml "$@"