metasploit-framework/docker-compose.yml

23 lines
428 B
YAML
Raw Normal View History

2017-11-29 04:35:20 +08:00
version: '3'
services:
2017-04-22 08:10:00 +08:00
ms:
2017-11-29 04:35:20 +08:00
image: metasploitframework/metasploit-framework:latest
environment:
DATABASE_URL: postgres://postgres@db:5432/msf
links:
- db
ports:
- 4444:4444
volumes:
- $HOME/.msf4:/home/msf/.msf4
2017-05-21 21:21:40 +08:00
- /etc/localtime:/etc/localtime:ro
db:
2017-11-29 04:35:20 +08:00
image: postgres:10-alpine
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
pg_data:
driver: local