(Feat): Initial Commit
Some checks failed
Build & Test / build-test (push) Has been cancelled
Build & Test / swagger-codegen-cli (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled

This commit is contained in:
2026-07-03 19:41:31 +05:30
commit 7e940c83a7
461 changed files with 45002 additions and 0 deletions

22
docker-helper.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
if [ "$1" = "--up" ]; then
docker compose up --no-start
docker compose start # ensure we are started, handle also allowed to be consumed by vscode
docker compose exec service bash
fi
if [ "$1" = "--halt" ]; then
docker compose stop
fi
if [ "$1" = "--rebuild" ]; then
docker compose up -d --force-recreate --no-deps --build service
fi
if [ "$1" = "--destroy" ]; then
docker compose down --rmi local -v --remove-orphans
fi
[ -n "$1" -a \( "$1" = "--up" -o "$1" = "--halt" -o "$1" = "--rebuild" -o "$1" = "--destroy" \) ] \
|| { echo "usage: $0 --up | --halt | --rebuild | --destroy" >&2; exit 1; }