1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00
metasploit-framework/docker-compose.yml
Christian Mehlmauer d94bc37b04
add timezone
2017-05-21 15:21:40 +02:00

26 lines
456 B
YAML

version: '2'
services:
ms:
image: metasploit
build:
context: .
dockerfile: ./docker/Dockerfile
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