mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-03-13 00:20:46 +08:00
迭代应用 AutoLady ==> ByteMuse
This commit is contained in:
parent
a343a6c337
commit
8647215e7c
@ -27,6 +27,10 @@
|
||||
+ qBittorrent 下载器
|
||||
+ PT 站点密钥
|
||||
|
||||
## 安装说明
|
||||
|
||||
> 激活请通过 `license` 版本进行激活
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
10
apps/byte-muse/license/data.yml
Normal file
10
apps/byte-muse/license/data.yml
Normal file
@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 5000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
15
apps/byte-muse/license/docker-compose.yml
Normal file
15
apps/byte-muse/license/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
byte-muse-license:
|
||||
image: envyafish/byte-muse-license:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:5000
|
2
apps/byte-muse/license/envs/default.env
Normal file
2
apps/byte-muse/license/envs/default.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
2
apps/byte-muse/license/envs/global.env
Normal file
2
apps/byte-muse/license/envs/global.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
17
apps/byte-muse/license/scripts/init.sh
Normal file
17
apps/byte-muse/license/scripts/init.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/byte-muse/license/scripts/uninstall.sh
Normal file
10
apps/byte-muse/license/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
17
apps/byte-muse/license/scripts/upgrade.sh
Normal file
17
apps/byte-muse/license/scripts/upgrade.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user