Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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