Skip to content

Instantly share code, notes, and snippets.

@srikanthlogic
Last active November 5, 2019 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srikanthlogic/565d4c70a61bc7de7f5998921aa83a39 to your computer and use it in GitHub Desktop.
Save srikanthlogic/565d4c70a61bc7de7f5998921aa83a39 to your computer and use it in GitHub Desktop.
MobSF Compose
version: "3"
services:
postgres:
image: "postgres:latest"
hostname: postgresdb
restart: always
deploy:
replicas: 1
resources:
limits:
memory: 2000M
restart_policy:
condition: on-failure
volumes:
- /Postgres_data/var/lib/postgresql:/var/lib/postgresql
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=mobsf
mobsf:
image: "opensecurity/mobile-security-framework-mobsf:latest"
hostname: mobsfhost
restart: always
deploy:
replicas: 1
resources:
limits:
memory: 4000M
restart_policy:
condition: on-failure
volumes:
- /MobSF_data:/root/.MobSF
ports:
- "8000:8000"
networks:
- webnet
networks:
webnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment