forked from InnovAnon-Inc/bash-syslog
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
36 lines (34 loc) · 915 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3.8'
#include:
# - ../pgrsyslog-client/docker-compose.yaml
services:
msfrpcd:
env_file: .env
image: innovanon/msfrpcd
container_name: msfrpcd
ports:
- "0.0.0.0:55553:55553/tcp"
#- "10.5.0.8:55553:55553/tcp"
command: ["-S", "-U", $MSFRPC_USERNAME, "-P", $MSFRPC_PASSWORD]
volumes:
- msfrpcd:/usr/share/metasploit-framework/config:rw
- import-db:/var/teamhack/upload:ro
#- syslog-client:/etc/rsyslog.d:ro
restart: always
healthcheck:
test: ["CMD-SHELL", "wget -nv -O/dev/null http://0.0.0.0:55553/api"]
interval: 10s
timeout: 5s
retries: 10
depends_on:
postgres:
condition: service_healthy
syslog:
condition: service_started
# TODO
#networks:
# network:
# ipv4_address: 10.5.0.8
volumes:
msfrpcd:
external: true