Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on Docker Container #254

Open
AashishDhakal opened this issue Aug 5, 2021 · 0 comments
Open

Question on Docker Container #254

AashishDhakal opened this issue Aug 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@AashishDhakal
Copy link

#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: {}

@AashishDhakal AashishDhakal added the enhancement New feature or request label Aug 5, 2021
@tonybaloney tonybaloney added bug Something isn't working and removed enhancement New feature or request labels Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants