mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-12 02:06:59 +00:00
* Dependency update * Explicit timeout for all requests * Support proxy for all http(s) calls * Optimize jadx download, support system proxy
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
services:
|
|
|
|
postgres:
|
|
image: "postgres:13"
|
|
restart: always
|
|
volumes:
|
|
- $HOME/MobSF/postgresql_data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=password
|
|
- POSTGRES_DB=mobsf
|
|
networks:
|
|
- mobsf_network
|
|
|
|
nginx:
|
|
image: nginx:latest
|
|
restart: always
|
|
ports:
|
|
- "80:4000"
|
|
- "1337:4001"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
depends_on:
|
|
- mobsf
|
|
networks:
|
|
- mobsf_network
|
|
|
|
mobsf:
|
|
image: opensecurity/mobile-security-framework-mobsf:latest
|
|
restart: always
|
|
volumes:
|
|
- $HOME/MobSF/mobsf_data:/home/mobsf/.MobSF
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=password
|
|
- POSTGRES_DB=mobsf
|
|
- POSTGRES_HOST=postgres
|
|
- POSTGRES_PORT=5432
|
|
healthcheck:
|
|
test: curl -f http://localhost:8000/login/ || exit 1
|
|
depends_on:
|
|
- postgres
|
|
networks:
|
|
- mobsf_network
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
networks:
|
|
mobsf_network:
|
|
driver: bridge
|