2016-07-18 18:38:57 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
2017-04-22 00:10:00 +00:00
|
|
|
ms:
|
2016-07-18 18:38:57 +00:00
|
|
|
image: metasploit
|
|
|
|
build:
|
|
|
|
context: .
|
2017-08-28 14:57:28 +00:00
|
|
|
dockerfile: ./Dockerfile
|
2016-07-18 18:38:57 +00:00
|
|
|
environment:
|
|
|
|
DATABASE_URL: postgres://postgres@db:5432/msf
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
ports:
|
|
|
|
- 4444:4444
|
|
|
|
volumes:
|
2017-04-27 08:36:56 +00:00
|
|
|
- $HOME/.msf4:/home/msf/.msf4
|
2017-05-21 13:21:40 +00:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2016-07-18 18:38:57 +00:00
|
|
|
|
|
|
|
db:
|
2017-05-20 20:29:16 +00:00
|
|
|
image: postgres:9-alpine
|
2016-07-18 18:38:57 +00:00
|
|
|
volumes:
|
|
|
|
- pg_data:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
pg_data:
|
|
|
|
driver: local
|