diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..701e645 --- /dev/null +++ b/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +rm ./dist/* +CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o ./dist/overflow_probe diff --git a/build/config/config.json b/build/config/config.json new file mode 100644 index 0000000..cd543e2 --- /dev/null +++ b/build/config/config.json @@ -0,0 +1,16 @@ +{ + "central": { + "url": "wss://probe.overflow.cloud", + "apiKey": "52abd6fd57e511e7ac52080027658d13", + "readBufferSize": 8192, + "writeBufferSize": 8192 + }, + "probe": { + }, + "paths": { + "bin": "/bin", + "config": "/config", + "pid": "/pid", + "root": "/project/overFlow/probe" + } +} \ No newline at end of file diff --git a/build/config/logging.json b/build/config/logging.json new file mode 100644 index 0000000..e69de29