tonybaloney/pycharm-security

Question on Docker Container

AashishDhakal opened this issue · 0 comments

#Question

Today, I tried docker container of pycharm-security. Unfortunately, I didn't find much docs for it, so thought I could post it here.
pycharm-security_1 | Expected parameters: <project_file_path> <inspection_profile> <output_path> <inspections_profile> -- use here profile name configured in the project or locally or path to the inspection profile; can be stabbed when one of the -e|-profileName|-profilePath is used pycharm-security_1 | [<options>] pycharm-security_1 | Available options are: pycharm-security_1 | -d <directory_path> -- directory to be inspected. Optional. Whole project is inspected by default. pycharm-security_1 | -e -- skip pycharm-security_1 | -v[0|1|2] -- verbose level. 0 - silent, 1 - verbose, 2 - most verbose. pycharm-security_1 | -profileName -- name of a profile defined in project pycharm-security_1 | -profilePath -- absolute path to the profile file pycharm-security_1 | -format -- report output format. Supported options: xml, json, plain. Defaults to xml pycharm-security_1 | -changes -- inspect uncommitted changes and report new problems

What might be the reason I am getting this , How can I pass these parameters?

My docker-compose file goes like this:

version: '3'
services:
minio:
image: minio/minio
entrypoint: sh
command: -c 'mkdir -p /minio/market && /usr/bin/minio server /minio'
ports:
- "9000:9000"
networks:
- backend
market:
build:
context: ./
dockerfile: dockerfiles/market/Dockerfile
command: ["/app/run-dev.sh"]
ports:
- "8081:8080"
networks:
- backend
depends_on:
- minio
environment:
API_AUTH: BASIC_AUTH
CLOUD_STORAGE: AWS_S3
ADMIN_ENABLED: "True"
SWAGGER_ENABLED: "True"
REDOC_ENABLED: "True"
DJANGO_DEBUG: "True"
DJANGO_SECURITY_KEY: *********
DJANGO_ALLOWED_HOSTS: localhost,127.0.0.1
DJANGO_SUPERUSER_PASSWORD: ********
CORS_WHITELIST: http://localhost:3000
TESTING: testing
AWS_S3_ENDPOINT_URL: http://minio:9000
AWS_ACCESS_KEY_ID: *********
AWS_SECRET_ACCESS_KEY: *********
AWS_STORAGE_BUCKET_NAME: ********
DEFAULT_FILE_STORAGE: storages.backends.s3boto3.S3Boto3Storage
pycharm-security:
image: anthonypjshaw/pycharm-security
depends_on:
- market
networks:
backend: {}