Files
Mobile-Security-Framework-M…/docker-compose.yml
T
superpoussin22 b732c2e509 Update docker-compose.yml
add POSTGRES boolean variable to enable or disable postgres usage (True By default)
2018-06-14 14:28:50 +02:00

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"