mirror of
https://github.com/vxcontrol/soldr-modules.git
synced 2026-07-19 21:43:31 -04:00
2550dfa54d5dafe505f34082a72fea5ca082fc9c
The file_reader module starts to read files from the end by default. To start the reading from the beginning, you must rewind this process manually, which has not yet been implemented. To do this, now, you may use the new button added to the module's UI to reset the reading position for the chosen file.
SOLDR modules repository
Using
There is using next environment variables to run the container:
DB_HOST- Global MySQL IP address or domainDB_PORT- Global MySQL TCP port to connectDB_USER- Global MySQL username to connectDB_PASS- Global MySQL password to connectDB_NAME- Global MySQL database name to connectMINIO_ENDPOINT- URL to connect to Minio S3 storage (including port and schema)MINIO_ACCESS_KEY- Access key to connect to Minio S3 storageMINIO_SECRET_KEY- Secret key to connect to Minio S3 storageMINIO_BUCKET_NAME- Global S3 bucket name to connect and copy modules files
Command to build image:
docker build -t local/modules .
Simple docker_env file
Command to run container (to remote services):
docker run --add-host mysql.local:10.0.0.1 --add-host minio.local:10.0.0.2 --rm --env-file docker_env.list -ti local/modules
Or link to local running containers:
docker run --link=vx_mysql:mysql.local --link=vx_minio:minio.local --net soldr_vx-stand --rm --env-file docker_env.list -ti local/modules
File docker_env.list by default:
DB_HOST=mysql.local
DB_PORT=3306
DB_USER=vxcontrol
DB_PASS=password
DB_NAME=vx_global
MINIO_ENDPOINT=http://minio.local:9000
MINIO_ACCESS_KEY=accesskey
MINIO_SECRET_KEY=secretkey
MINIO_BUCKET_NAME=soldr-modules
Simple script file export environment variables to current bash session
Command to run container:
. ./env.sh
File env.sh by default:
export DB_HOST=mysql.local
export DB_PORT=3306
export DB_USER=vxcontrol
export DB_PASS=password
export DB_NAME=vx_global
export MINIO_ENDPOINT=http://minio.local:9000
export MINIO_ACCESS_KEY=accesskey
export MINIO_SECRET_KEY=secretkey
export MINIO_BUCKET_NAME=soldr-modules
Description
Releases
2
Languages
Lua
88.4%
Vue
8.5%
Python
1.2%
YARA
0.9%
Shell
0.5%
Other
0.4%