From 69b86bcc277a78c6134c445aade5aeb166774bc3 Mon Sep 17 00:00:00 2001 From: arch3rPro <30855883+arch3rPro@users.noreply.github.com> Date: Mon, 7 Jul 2025 23:20:11 +0800 Subject: [PATCH] feat: update Cup 3.4.0 --- apps/cup/3.4.0/data.yml | 10 ++++++++++ apps/cup/3.4.0/docker-compose.yml | 17 +++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 apps/cup/3.4.0/data.yml create mode 100644 apps/cup/3.4.0/docker-compose.yml diff --git a/apps/cup/3.4.0/data.yml b/apps/cup/3.4.0/data.yml new file mode 100644 index 0000000..5d55491 --- /dev/null +++ b/apps/cup/3.4.0/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: "51230" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Service Port 8000 + labelZh: 服务端口 8000 + required: true + rule: paramPort + type: number diff --git a/apps/cup/3.4.0/docker-compose.yml b/apps/cup/3.4.0/docker-compose.yml new file mode 100644 index 0000000..5a4a520 --- /dev/null +++ b/apps/cup/3.4.0/docker-compose.yml @@ -0,0 +1,17 @@ +services: + cup: + image: ghcr.io/sergi0g/cup:v3.4.0 + container_name: ${CONTAINER_NAME} + restart: unless-stopped + ports: + - ${PANEL_APP_PORT_HTTP}:8000 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + networks: + - 1panel-network + labels: + createdBy: Apps + command: serve +networks: + 1panel-network: + external: true