mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-12 02:06:59 +00:00
add POSTGRES boolean variable to enable or disable postgres usage (True By default)
23 lines
448 B
YAML
23 lines
448 B
YAML
version: '3'
|
|
services:
|
|
postgres:
|
|
image: "postgres:latest"
|
|
restart: always
|
|
volumes:
|
|
- /Postgres_data/var/lib/postgresql:/var/lib/postgresql
|
|
environment:
|
|
- PSOTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=password
|
|
- POSTGRES_DB=mobsf
|
|
mobsf:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- POSTGRES=True
|
|
volumes:
|
|
- /MobSF_data:/root/.MobSF
|
|
ports:
|
|
- "8000:8000"
|
|
|