From f2ebd74ef348c86f3547725934f8ae2ea79f34e3 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Jul 2024 00:29:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E5=AE=B9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ubuntu-xfce-xrdp/docker-compose.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/ubuntu-xfce-xrdp/docker-compose.yml b/ubuntu-xfce-xrdp/docker-compose.yml index 2296ab3..a1b6dc8 100644 --- a/ubuntu-xfce-xrdp/docker-compose.yml +++ b/ubuntu-xfce-xrdp/docker-compose.yml @@ -1,8 +1,8 @@ services: - ubuntu-xfce-xrdp: + xfce-xrdp-3386: build: . - image: ubuntu-xfce-xrdp:latest - container_name: ubuntu-xfce-xrdp-3386 + image: chunlinwang/ubuntu-xfce-xrdp:latest + container_name: xfce-xrdp-3386 ports: - "3386:3389" - "11022:22" @@ -18,3 +18,24 @@ services: capabilities: [gpu] shm_size: 1g restart: unless-stopped + + xfce-xrdp-3387: + build: . + image: chunlinwang/ubuntu-xfce-xrdp:latest + container_name: xfce-xrdp-3387 + ports: + - "3387:3389" + - "11023:22" + environment: + - USERNAME=wcl + - PASSWORD=123 + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] + shm_size: 1g + restart: unless-stopped +