8000 How to set more threads in Docker? · Issue #94 · eth0izzle/shhgit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How to set more threads in Docker? #94
Open
@elch0laj

Description

@elch0laj

Hello i setup the tool and look amazing.
Im trying to setup the docker with the --threads 3, i put 3 github tokens and inside docker-compose.yml i set this

entrypoint: ["/app/shhgit", "--threads 3 --live=http://shhgit-www/push"] 64AC

But when i compose up i get this error, any advice to set flags for the docker?

Attaching to shhgit.www, shhgit.app
shhgit.app    | flag provided but not defined: -threads 3
shhgit.app    | Usage of /app/shhgit:
shhgit.app    |   -clone-repository-timeout uint
shhgit.app    |         Maximum time it should take to clone a repository in seconds. Increase this if you have a slower connection (default 10)
shhgit.app    |   -config-path string
shhgit.app    |         Searches for config.yaml from given directory. If not set, tries to find if from shhgit binary's and current directory
shhgit.app    |   -csv-path string
shhgit.app    |         CSV file path to log found secrets to. Leave blank to disable
shhgit.app    |   -debug
shhgit.app    |         Print debugging information
shhgit.app    |   -entropy-threshold float
shhgit.app    |         Set to 0 to disable entropy checks (default 5)
shhgit.app    |   -live string
shhgit.app    |         Your shhgit live endpoint
shhgit.app    |   -local string
shhgit.app    |         Specify local directory (absolute path) which to scan. Scans only given directory recursively. No need to have GitHub tokens with local run.
shhgit.app    |   -maximum-file-size uint
shhgit.app    |         Maximum file size to process in KB (default 256)
shhgit.app    |   -maximum-repository-size uint
shhgit.app    |         Maximum repository size to process in KB (default 5120)
shhgit.app    |   -minimum-stars uint
shhgit.app    |         Only process repositories with this many stars. Default 0 will ignore star count
shhgit.app    |   -path-checks
shhgit.app    |         Set to false to disable checking of filepaths, i.e. just match regex patterns of file contents (default true)
shhgit.app    |   -process-gists
shhgit.app    |         Will watch and process Gists. Set to false to disable. (default true)
shhgit.app    |   -search-query string
shhgit.app    |         Specify a search string to ignore signatures and filter on files containing this string (regex compatible)
shhgit.app    |   -silent
shhgit.app    |         Suppress all output except for errors
shhgit.app    |   -temp-directory string
shhgit.app    |         Directory to process and store repositories/matches (default "/tmp/shhgit")
shhgit.app    |   -threads int
shhgit.app    |         Number of concurrent threads (default number of logical CPUs)
shhgit.app exited with code 2

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0