first commit

This commit is contained in:
2025-04-24 13:11:28 +08:00
commit ff9c54d5e4
5960 changed files with 834111 additions and 0 deletions

3
develop/bin/build Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker compose build --pull "$@"

3
develop/bin/dev Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --no-deps --detach "$@"

3
develop/bin/down Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker compose down "$@"

9
develop/bin/logs Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
docker compose logs --follow --tail 10 --no-color "$@" \
| ggrep --line-buffered --invert-match "global.gc" \
| ggrep --line-buffered --invert-match "health.check" \
| ggrep --line-buffered --invert-match "slow event loop" \
| ggrep --line-buffered --invert-match "process.memoryUsage" \
| ggrep --line-buffered --only-matching "[{].*" \
| bunyan --output short

3
develop/bin/shell Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker compose exec -it "$@" /bin/bash

3
develop/bin/up Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker compose up --detach "$@"