diff --git a/dev/docker/docker-compose-local.yml b/dev/docker/docker-compose-local.yml new file mode 100644 index 0000000000000000000000000000000000000000..2b319d88a3c65bf2ef1460c8e512157a75019ad9 --- /dev/null +++ b/dev/docker/docker-compose-local.yml @@ -0,0 +1,39 @@ +version: '3.4' + +services: + xrdp: + container_name: xrdp + hostname: xrdp + image: bolkedebruin/docker-ubuntu-xrdp-mate-rdpgw:latest + ports: + - 3389:3389 + restart: on-failure + volumes: + - ${PWD}/xrdp_users.txt:/root/createusers.txt + environment: + TZ: "Europe/Amsterdam" + rdpgw: + container_name: rdpgw + hostname: rdpgw + image: bolkedebruin/rdpgw:latest + build: . + ports: + - 9443:9443 + restart: on-failure + volumes: + - ${PWD}/xrdp_users.txt:/root/createusers.txt + environment: + RDPGW_SERVER__SESSION_STORE: file + RDPGW_SERVER__CERT_FILE: /opt/rdpgw/server.pem + RDPGW_SERVER__KEY_FILE: /opt/rdpgw/key.pem + RDPGW_SERVER__GATEWAY_ADDRESS: localhost:9443 + RDPGW_SERVER__PORT: 9443 + RDPGW_SERVER__HOSTS: xrdp:3389 + RDPGW_SERVER__ROUND_ROBIN: "false" + RDPGW_SERVER__AUTHENTICATION: local + RDPGW_CAPS__TOKEN_AUTH: "false" + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:9443/"] + interval: 10s + timeout: 10s + retries: 10