File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ cargo install --path .
1919gtsa
2020```
2121
22+ Docker hub
23+ ``` bash
24+ docker pull mnwamnowich/gtsa
25+ docker run -p 8080:8080/udp --env SENTRY_DSN=dsn --name gtsa mnwamnowich/gtsa
26+ ```
27+
2228Or docker build
2329
2430``` bash
@@ -30,11 +36,22 @@ Now you can sent data on udp
3036
3137## Deployment
3238
33- The simplest way to deploy that app is pull your docker container and run it with env:
39+ For deploying GTSA you must to set is only one env variable :
3440``` env
3541SENTRY_DSN=xxx
3642```
3743
44+ SENTRY DSN must be only in the new format (without secret key)!
45+
46+ Also GTSA have a some env variables with default values, but you can edit it:
47+ ``` env
48+ UDP_ADDR=0.0.0.0:8080 //udp address
49+ TCP_ADDR=0.0.0.0:8081 // tcp address
50+ SYSTEM=Gelf Mover // name of your application
51+ READER_THREADS=1 // threads for decoding and encoding json messages (max parrallel messages processing)
52+ UNPACKER_THREADS=1 // threads for unpacking messages what received with gz or zlib algoritms (max parrallel messages unpacking)
53+ ```
54+
3855## Built With
3956
4057* [ actix] ( https://github.com/actix/actix ) - The actor framework used
You can’t perform that action at this time.
0 commit comments