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

Docker enhancements #2440

Closed
wants to merge 5 commits into from
Closed

Docker enhancements #2440

wants to merge 5 commits into from

Conversation

antonkap
Copy link

Describe the Pull Request

Added possibility to use docker secrets inside container.
Added docker-compose_swarm.yml for deployment in docker swarm mode on single node.
Fixed postgres volume mount in docker-compose.yml

Checklist for PR

  • Run MobSF unit tests and lint tox -e lint,test
  • Tested Working on Linux, Mac, Windows, and Docker
  • Add unit test for any new Web API (Refer: StaticAnalyzer/tests.py)
  • Make sure tests are passing on your PR MobSF tests

Additional Comments (if any)

DESCRIBE HERE

Added docker-compose_swarm.yml for deployment in docker swarm mode on single node.
Fixed postgres volume mount in docker-compose.yml
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- MOBSF_API_KEY_FILE=/run/secrets/mobsf_api_key
image: ${MOBSF_IMAGE:-opensecurity/mobile-security-framework-mobsf:v4.0.7}
Copy link
Member

Choose a reason for hiding this comment

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

can this be pointing to latest?

Copy link
Author

Choose a reason for hiding this comment

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

I thought that it's better to refer to specific version in specific release. In this way it should be more consistent. Also it's similar to postgres(I've left corresponding comments below)

Copy link
Member

Choose a reason for hiding this comment

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

We prefer to use the latest image for all examples. It makes sense for posrgres, but for mobsf image, please tag the latest.

@ajinabraham
Copy link
Member

ajinabraham commented Nov 7, 2024

These will be included in 8e57a78 as a part of #2445

@ajinabraham
Copy link
Member

Changes merged in #2445

@ajinabraham ajinabraham closed this Nov 7, 2024
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