diff --git a/apps/picx/3.0.2/.env.sample b/apps/picx/3.0.2/.env.sample new file mode 100644 index 000000000..62beff7c6 --- /dev/null +++ b/apps/picx/3.0.2/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="picx" +PANEL_APP_PORT_HTTP="40131" +DATA_PATH="./data" diff --git a/apps/picx/3.0.2/data.yml b/apps/picx/3.0.2/data.yml new file mode 100644 index 000000000..83d6a4238 --- /dev/null +++ b/apps/picx/3.0.2/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40131 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/picx/3.0.2/docker-compose.yml b/apps/picx/3.0.2/docker-compose.yml new file mode 100644 index 000000000..aa4fb5bec --- /dev/null +++ b/apps/picx/3.0.2/docker-compose.yml @@ -0,0 +1,17 @@ +services: + picx: + image: ghcr.io/pooneyy/picx:3.0.2 + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + volumes: + - ${DATA_PATH}:/usr/share/nginx/html + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true