forked from GoSecure/pyrdp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
26 lines (25 loc) · 925 Bytes
/
docker-compose.yml
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
#
# This file is part of the PyRDP project.
# Copyright (C) 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#
# This is an example of how you could use pyRDP with docker-compose.
version: "3"
services:
pyrdp:
build: .
# Uncomment this section only if you want to run the player.
# This allows the GUI of the player to be displayed on the host screen and
# stops Qt from using the MITM-SHM X11 Shared Memory Extension.
#environment:
# - DISPLAY
# - QT_X11_NO_MITSHM=1
# This exposes the host's network to the docker. Keep in mind this could be dangerous if you deploy
# the tool for a honeypot on the internet.
#network_mode: "host"
volumes:
# The path before the ':' is the destination of the log on the host side.
- ./pyrdp_log:/home/pyrdp/log
# Place the command you want to execute here:
# ex: pyrdp-player.py
command: ["pyrdp-player.py"]