Initial commit

This commit is contained in:
yusing
2024-02-29 11:51:06 +08:00
commit acad8dc5ba
9 changed files with 540 additions and 0 deletions

8
build.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
mkdir -p bin
CGO_ENABLED=0 GOOS=linux go build -o bin/go-proxy || exit 1
if [ "$1" = "up" ]; then
docker compose up -d --build app && \
docker compose logs -f
fi