1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:53 +02:00
dockerfiles/metasploit/docker-compose.yml
2017-10-30 08:06:11 +08:00

23 lines
420 B
YAML

version: '2'
services:
ms:
image: metasploitframework/metasploit-framework
environment:
DATABASE_URL: postgres://postgres@db:5432/msf
links:
- db
ports:
- 4444:4444
volumes:
- $HOME/.msf4:/home/msf/.msf4
- /etc/localtime:/etc/localtime:ro
db:
image: postgres:9-alpine
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
pg_data:
driver: local