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

Hotfix/security monkey v0.7.0 #50

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Hotfix/security monkey v0.7.0 #50

wants to merge 21 commits into from

Conversation

johnbuhay
Copy link

This branch updates SecurityMonkey to use the latest (v0.7.0 at this time) release.

Notable changes are:

  • updated api-init.sh to use ENV VARS
  • security_monkey/0.7.0/Dockerfile includes all entrypoints into the build
  • docker-compose.yml added for local development/testing


RUN apt-get update &&\
apt-get -y -q install python-software-properties software-properties-common postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 curl &&\
apt-get install -y python-pip python-dev python-psycopg2 libffi-dev libpq-dev libyaml-dev libxml2-dev libxmlsec1-dev git sudo swig python-m2crypto &&\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR 188 ( Netflix/security_monkey#188 ) should have removed the requirement for m2crypto.

},
'loggers': {
'security_monkey': {
'handlers': ['file', 'console'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't want to use file in docker.

Logging should go to stdout, iirc.

'level': 'DEBUG'
},
'apscheduler': {
'handlers': ['file', 'console'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't want to use file in docker.

Logging should go to stdout, iirc.

@scriptsrc
Copy link
Contributor

Looks pretty good.

I made a couple comments. (m2crypto probably isn't required anymore and we can probably remove the file handler.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants