2017-11-28 20:35:20 +00:00
|
|
|
version: '3'
|
2016-07-18 18:38:57 +00:00
|
|
|
services:
|
2017-04-22 00:10:00 +00:00
|
|
|
ms:
|
2017-11-28 20:35:20 +00:00
|
|
|
image: metasploitframework/metasploit-framework:latest
|
2016-07-18 18:38:57 +00:00
|
|
|
environment:
|
2018-10-21 20:30:01 +00:00
|
|
|
DATABASE_URL: postgres://postgres@db:5432/msf?pool=200&timeout=5
|
2016-07-18 18:38:57 +00:00
|
|
|
links:
|
|
|
|
- db
|
|
|
|
ports:
|
|
|
|
- 4444:4444
|
|
|
|
volumes:
|
2017-04-27 08:36:56 +00:00
|
|
|
- $HOME/.msf4:/home/msf/.msf4
|
2016-07-18 18:38:57 +00:00
|
|
|
|
|
|
|
db:
|
2017-11-28 20:35:20 +00:00
|
|
|
image: postgres:10-alpine
|
2016-07-18 18:38:57 +00:00
|
|
|
volumes:
|
|
|
|
- pg_data:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
pg_data:
|
|
|
|
driver: local
|