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