From d8d53dc082619e934f61a1af48a7e2aa9bfec2b9 Mon Sep 17 00:00:00 2001 From: itcsx Date: Wed, 19 Aug 2026 14:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=E3=80=8C/=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ow --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f745bab --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +version: "3" +services: + cb: + image: mcr.microsoft.com/dotnet/runtime-deps:8.0 + container_name: CloudBuilder.Web.Entry + restart: always + ports: + - "5200:8080" + volumes: + - ./:/app + - /vol1/1000/Docker/NET8/publish/data:/app/data + working_dir: /app + environment: + - ASPNETCORE_URLS=http://+:8080 + - ASPNETCORE_ENVIRONMENT=Production + command: > + sh -c "chmod +x ./CloudBuilder.Web.Entry && ./CloudBuilder.Web.Entry" \ No newline at end of file