1
0
Fork 0
This commit is contained in:
pooneyy 2025-06-15 15:55:27 +08:00
parent 4cbe6c172e
commit edfa9d4d1c
140 changed files with 24 additions and 3647 deletions

View File

@ -1,38 +0,0 @@
additionalProperties:
formFields:
- default: "/home/auto-lady"
edit: true
envKey: AUTO_LADY_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -1,23 +0,0 @@
networks:
1panel-network:
external: true
services:
auto-lady:
image: orekiiiiiiiiiiiii/auto-lady:1.4.5
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:80
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${AUTO_LADY_ROOT_PATH}/config:/data
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,52 +0,0 @@
additionalProperties:
formFields:
- default: "/home/auto-lady"
edit: true
envKey: AUTO_LADY_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text
- default: ""
edit: true
envKey: HTTP_PROXY
labelZh: 网络代理地址
labelEn: Network proxy address
required: false
type: text
- default: "localhost,127.0.0.1,::1,192.168.0.0/16,10.0.0.0/8,*.local"
edit: true
envKey: NO_PROXY
labelZh: 跳过代理地址
labelEn: Skip proxy address
required: false
type: text

View File

@ -1,27 +0,0 @@
networks:
1panel-network:
external: true
services:
auto-lady:
image: envyafish/byte-muse:1.5.3
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:80
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${AUTO_LADY_ROOT_PATH}/config:/data
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- HTTPS_PROXY=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY:-}
- NO_PROXY=${NO_PROXY:-}

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,26 +0,0 @@
# AutoLady
自动化订阅AV影片
![AutoLady](https://file.lifebus.top/imgs/autolady_cover.png)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
> 已下架
>
> 请自行升级至 `byte-muse` 当前应用不在升级。
## 应用说明
> 目前仅支持 MTFSMPTT 三个 PT 站点的 AV 采集订阅
>
> 账号密码可在 `日志` 查看
## 应用配置
+ qBittorrent 下载器
+ PT 站点密钥
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

View File

@ -1,15 +0,0 @@
additionalProperties:
key: auto-lady
name: AutoLady [已下架]
tags:
- WebSite
- Tool
- Local
shortDescZh: 自动化订阅AV影片
shortDescEn: AutoLady is a tool for automatically subscribing to AV movies
type: website
crossVersionUpdate: true
limit: 0
website: https://catcat.blog/
github: https://catcat.blog/
document: https://catcat.blog/docker-autolady.html

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,60 +0,0 @@
additionalProperties:
formFields:
- default: "/home/elasticsearch"
edit: true
envKey: ELASTICSEARCH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 9200
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 9300
edit: true
envKey: PANEL_APP_PORT_CLUSTER
labelZh: 集群端口
labelEn: Cluster port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: ELASTIC_PASSWORD
labelZh: Elasticsearch 密码 (elastic)
labelEn: Elasticsearch password (elastic)
required: true
type: password
- default: ""
edit: true
envKey: KIBANA_PASSWORD
labelZh: Kibana 密码 (kibana_system)
labelEn: Kibana password (kibana_system)
required: false
type: password
- default: "elasticsearch"
edit: true
envKey: ES_SETTING_CLUSTER_NAME
labelZh: 集群名称
labelEn: Cluster name
required: true
type: text
- default: "es-node"
edit: true
envKey: ES_SETTING_NODE_NAME
labelZh: 节点名称
labelEn: Node name
required: true
type: text
- default: "-Xms1g -Xmx1g"
edit: true
envKey: ES_JAVA_OPTS
labelZh: Java 启动参数 (可选)
labelEn: Java startup parameters (optional)
required: false
type: text

View File

@ -1,35 +0,0 @@
networks:
1panel-network:
external: true
services:
elasticsearch:
image: elasticsearch:8.18.2
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
tty: true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- ${PANEL_APP_PORT_HTTPS}:9200
- ${PANEL_APP_PORT_CLUSTER}:9300
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${ELASTICSEARCH_ROOT_PATH}/data:/usr/share/elasticsearch/data
- ${ELASTICSEARCH_ROOT_PATH}/backup:/usr/share/elasticsearch/backup
- ${ELASTICSEARCH_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins
environment:
- LICENSE=basic
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
- ES_SETTING_PATH_REPO=/usr/share/elasticsearch/backup

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,23 +0,0 @@
#!/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
mkdir -p $ELASTICSEARCH_ROOT_PATH
mkdir -p "$ELASTICSEARCH_ROOT_PATH/data"
mkdir -p "$ELASTICSEARCH_ROOT_PATH/backup"
mkdir -p "$ELASTICSEARCH_ROOT_PATH/plugins"
chown -R 1000:1000 $ELASTICSEARCH_ROOT_PATH
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,24 +0,0 @@
additionalProperties:
formFields:
- default: "/home/kibana"
edit: true
envKey: KIBANA_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 5601
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "https://127.0.0.1:9200"
edit: true
envKey: elasticsearch_hosts
labelZh: Elasticsearch 地址
labelEn: Elasticsearch address
required: true
type: text

View File

@ -1,27 +0,0 @@
networks:
1panel-network:
external: true
services:
kibana:
image: kibana:8.18.2
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:5601
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${KIBANA_ROOT_PATH}/data:/usr/share/kibana/data
environment:
- SERVER_NAME="kibana"
- SERVER_HOST="0.0.0.0"
- SERVER_PORT=5601
- I18N_LOCALE="zh-CN"
- SERVER_SHUTDOWNTIMEOUT="5s"
- MONITORING_UI_CONTAINER_ELASTICSEARCH_ENABLED=true

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,22 +0,0 @@
#!/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
mkdir -p $KIBANA_ROOT_PATH
mkdir -p "$KIBANA_ROOT_PATH/data"
chown -R 1000:1000 $KIBANA_ROOT_PATH
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,61 +0,0 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Drive path
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: 8096
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: 网页端口
labelEn: WebUI Port
required: true
rule: paramPort
type: number
- default: "/home/emby"
edit: true
envKey: EMBY_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: ""
edit: true
envKey: HTTP_SSL_PROXY
labelZh: HTTP(s) 网络代理
labelEn: HTTP(s) Proxy
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -1,38 +0,0 @@
networks:
1panel-network:
external: true
services:
emby:
image: emby/embyserver:4.8.11.0
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:8096
devices:
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- ${EMBY_ROOT_PATH}/config:/config
- ${EMBY_ROOT_PATH}/mnt:/mnt
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- UID=0
- GID=0
- GIDLIST=0
- HTTP_PROXY=${HTTP_PROXY:-}
- HTTPS_PROXY=${HTTP_PROXY:-}
- NO_PROXY=localhost,127.0.0.1,::1

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -20,7 +20,7 @@ services:
devices:
- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
#- /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
image: emby/embyserver_arm32v7:latest
image: emby/embyserver_arm32v7:4.9.1.1
labels:
createdBy: "Apps"

View File

@ -19,7 +19,7 @@ services:
devices:
- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
#- /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
image: emby/embyserver_arm64v8:latest
image: emby/embyserver_arm64v8:4.9.1.1
labels:
createdBy: "Apps"

View File

@ -1,61 +0,0 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Drive path
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: 8096
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: 网页端口
labelEn: WebUI Port
required: true
rule: paramPort
type: number
- default: "/home/emby"
edit: true
envKey: EMBY_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: ""
edit: true
envKey: HTTP_SSL_PROXY
labelZh: HTTP(s) 网络代理
labelEn: HTTP(s) Proxy
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -1,38 +0,0 @@
networks:
1panel-network:
external: true
services:
emby:
image: emby/embyserver:4.9.1.1
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:8096
devices:
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- ${EMBY_ROOT_PATH}/config:/config
- ${EMBY_ROOT_PATH}/mnt:/mnt
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- UID=0
- GID=0
- GIDLIST=0
- HTTP_PROXY=${HTTP_PROXY:-}
- HTTPS_PROXY=${HTTP_PROXY:-}
- NO_PROXY=localhost,127.0.0.1,::1

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,54 +0,0 @@
Emby Server
============
Emby Server is a personal media server with apps on just about every device.
It features a REST-based API with built-in documention to facilitate client development. We also have client libraries for our API to enable rapid development.
## Emby Apps
- [Android Mobile (Play Store)](https://play.google.com/store/apps/details?id=com.mb.android "Android Mobile (Play Store)")
- [Android Mobile (Amazon)](http://www.amazon.com/Emby-for-Android/dp/B00GVH9O0I "Android Mobile (Amazon)")
- [Android TV](https://play.google.com/store/apps/details?id=tv.emby.embyatv "Android TV")
- [Amazon Fire TV](http://www.amazon.com/Emby-for-Fire-TV/dp/B00VVJKTW8 "Amazon Fire TV")
- [HTML5](http://app.emby.media "HTML5")
- [iPad](https://itunes.apple.com/us/app/emby/id992180193?ls=1&mt=8 "iPad")
- [iPhone](https://itunes.apple.com/us/app/emby/id992180193?ls=1&mt=8 "iPhone")
- [Kodi](http://emby.media/download/ "Kodi")
- [Media Portal](http://www.team-mediaportal.com/ "Media Portal")
- [Roku](https://www.roku.com/channels#!details/44191/emby "Roku")
- [Windows Desktop](http://emby.media/download/ "Windows Desktop")
- [Windows Media Center](http://emby.media/download/ "Windows Media Center")
- [Windows Phone](http://www.windowsphone.com/s?appid=f4971ed9-f651-4bf6-84bb-94fd98613b86 "Windows Phone")
- [Windows 8](http://apps.microsoft.com/windows/en-us/app/media-browser/ad55a2f0-9897-47bd-8944-bed3aefd5d06 "Windows 8.1")
## New Users ##
If you're a new user looking to install Emby Server, please head over to [emby.media](http://www.emby.media/ "emby.media")
## Developer Info ##
[Api Docs](https://github.com/MediaBrowser/MediaBrowser/wiki "Api Workflow")
[How to Build a Server Plugin](https://github.com/MediaBrowser/MediaBrowser/wiki/How-to-build-a-Server-Plugin "How to build a server plugin")
## Visit our community: ##
http://emby.media/community
## Images
![Android](https://dl.dropboxusercontent.com/u/4038856/android1.png)
![Android](https://dl.dropboxusercontent.com/u/4038856/android2.png)
![Html5](https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/apps/html5.png)
![iOS](https://github.com/MediaBrowser/MediaBrowser.Resources/raw/master/apps/ios_1.jpg)
![iOS](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/ios_2.jpg)
![Emby Theater](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/mbt.png)
![Emby Theater](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/mbt1.png)
![Windows Phone](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/winphone.png)
![Roku](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/roku2.jpg)
![iOS](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/ios_3.jpg)
![Dashboard](https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/apps/dashboard.png)
![iOS](http://i.imgur.com/prrzxMc.jpg)
![iOS](http://i.imgur.com/c9Vd1w5.jpg)

View File

@ -1,19 +0,0 @@
name: Emby Server
tags:
- 多媒体
title: 一个免费的个人媒体服务器
description: 一个免费的个人媒体服务器
additionalProperties:
key: embyserver
name: Emby Server
tags:
- Media
shortDescZh: 一个免费的个人媒体服务器
shortDescEn: A free personal media server
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://emby.media/
github: https://github.com/MediaBrowser/Emby
document: https://emby.media/support/articles/Home.html

View File

@ -1,6 +0,0 @@
CONTAINER_NAME="embyserver"
DATA_PATH="./data/config"
MOUNT_PATH2="./data/mnt2"
MOUNT_PATH="./data/mnt1"
PANEL_APP_PORT_HTTP="40091"
PANEL_APP_PORT_HTTPS="40092"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -1,61 +0,0 @@
additionalProperties:
formFields:
- default: "/home/immich-machine-learning"
edit: true
envKey: IMMICH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2283
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: API 端口
labelEn: API port
required: true
rule: paramPort
type: number
- default: "/dev/dri"
edit: true
envKey: IMMICH_DRIVE_PATH
labelZh: 硬件驱动路径
labelEn: Drive path
required: true
type: text
- default: "Asia/Shanghai"
edit: true
envKey: TZ
labelZh: 时区
labelEn: Timezone
required: true
type: text
- default: "XLM-Roberta-Large-Vit-B-16Plus"
edit: true
envKey: MACHINE_LEARNING_PRELOAD__CLIP
labelEn: Machine Learning Preload Model
labelZh: 机器学习 预加载模型
required: false
type: text
- default: "buffalo_l"
edit: true
envKey: MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION
labelEn: Machine Learning Preload Model
labelZh: 人脸识别 预加载模型
required: false
type: select
values:
- label: antelopev2
value: "antelopev2"
- label: buffalo_l
value: "buffalo_l"
- label: buffalo_m
value: "buffalo_m"
- label: buffalo_s
value: "buffalo_s"
- default: "https://hf-mirror.com"
edit: true
envKey: HF_ENDPOINT
labelZh: Hugging Face 服务地址
labelEn: Hugging Face Endpoint
required: false
type: text

View File

@ -1,31 +0,0 @@
networks:
1panel-network:
external: true
name: immich-machine-learning
services:
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3
container_name: immich-machine-learning-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
devices:
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
ports:
- ${PANEL_APP_PORT_HTTP}:3003
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${IMMICH_ROOT_PATH}/data/cache:/cache

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,117 +0,0 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_REDIS_SERVICE
required: true
type: service
default: redis
envKey: PANEL_REDIS_TYPE
labelZh: Redis 服务 (前置检查)
labelEn: Redis Service (Pre-check)
required: true
type: apps
values:
- label: Redis
value: redis
- default: "/home/immich-app"
edit: true
envKey: IMMICH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2283
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: DB_PASSWORD
labelEn: Database Password
labelZh: 数据库连接密码
random: true
required: true
rule: paramComplexity
type: password
- default: 5432
edit: true
envKey: PANEL_APP_PORT_DB
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "immich-pg14-vectors"
disabled: true
envKey: DB_HOSTNAME
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: "postgres"
disabled: true
envKey: DB_USERNAME
labelZh: 数据库 用户名
labelEn: Database User
required: true
type: text
- default: "immich"
disabled: true
envKey: DB_DATABASE_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
type: text
- default: "127.0.0.1"
edit: true
envKey: REDIS_HOSTNAME
labelZh: Redis 主机
labelEn: Redis Host
required: true
type: text
- default: 6379
edit: true
envKey: REDIS_PORT
labelZh: Redis 端口
labelEn: Redis Port
required: true
rule: paramPort
type: number
- default: 0
edit: true
envKey: REDIS_DBINDEX
labelZh: Redis 索引
labelEn: Redis Index
required: true
type: number
- default: ""
edit: true
envKey: REDIS_USERNAME
labelZh: Redis 用户名
labelEn: Redis Username
required: false
type: text
- default: ""
edit: true
envKey: REDIS_PASSWORD
labelZh: Redis 密码
labelEn: Redis Password
required: false
type: password
- default: "false"
edit: true
envKey: IMMICH_IGNORE_MOUNT_CHECK_ERRORS
labelZh: 是否跳过目录检查
labelEn: Skip Mount Check
required: false
type: select
values:
- label: 跳过检查
value: "true"
- label: 不跳过检查
value: "false"

View File

@ -1,73 +0,0 @@
networks:
1panel-network:
external: true
name: immich
services:
immich-pg14-vectors:
image: tensorchord/pgvecto-rs:pg14-v0.2.0
container_name: pg14-vectors-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_DB:-5432}:5432
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
interval: 5m
start_interval: 30s
start_period: 5m
command:
[
'postgres',
'-c',
'shared_preload_libraries=vectors.so',
'-c',
'search_path="$$user", public, vectors',
'-c',
'logging_collector=on',
'-c',
'max_wal_size=2GB',
'-c',
'shared_buffers=512MB',
'-c',
'wal_compression=on',
]
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME:-postgres}
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
POSTGRES_INITDB_ARGS: '--data-checksums'
immich-server:
depends_on:
- immich-pg14-vectors
image: ghcr.io/immich-app/immich-server:v1.132.3
container_name: immich-server-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
devices:
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
ports:
- ${PANEL_APP_PORT_HTTP}:2283
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
- /etc/localtime:/etc/localtime

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -5,24 +5,6 @@ networks:
name: immich
services:
immich-pg14-vectors:
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
container_name: pg14-vectors-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_DB:-5432}:5432
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME:-postgres}
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
POSTGRES_INITDB_ARGS: '--data-checksums'
immich-server:
depends_on:
- immich-pg14-vectors
@ -50,3 +32,21 @@ services:
volumes:
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
- /etc/localtime:/etc/localtime
immich-pg14-vectors:
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
container_name: pg14-vectors-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_DB:-5432}:5432
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME:-postgres}
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
POSTGRES_INITDB_ARGS: '--data-checksums'

View File

@ -1,138 +0,0 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_REDIS_SERVICE
required: true
type: service
default: redis
envKey: PANEL_REDIS_TYPE
labelZh: Redis 服务 (前置检查)
labelEn: Redis Service (Pre-check)
required: true
type: apps
values:
- label: Redis
value: redis
- child:
default: ""
envKey: PANEL_POSTGRES_SERVICE
required: true
type: service
default: postgresql
envKey: PANEL_POSTGRES_TYPE
labelZh: Postgres 服务 (前置检查)
labelEn: Postgres Service (Pre-check)
required: true
type: apps
values:
- label: PostgreSQL
value: postgresql
- default: "/home/immich-app"
edit: true
envKey: IMMICH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2283
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "Asia/Shanghai"
edit: true
envKey: TZ
labelZh: 时区
labelEn: Timezone
required: true
type: text
- default: "127.0.0.1"
edit: true
envKey: DB_HOSTNAME
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: 5432
edit: true
envKey: DB_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "postgres"
edit: true
envKey: DB_USERNAME
labelZh: 数据库 用户名
labelEn: Database User
required: true
type: text
- default: ""
edit: true
envKey: DB_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
random: true
required: true
rule: paramComplexity
type: password
- default: "immich"
edit: true
envKey: DB_DATABASE_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
type: text
- default: "127.0.0.1"
edit: true
envKey: REDIS_HOSTNAME
labelZh: Redis 主机
labelEn: Redis Host
required: true
type: text
- default: 6379
edit: true
envKey: REDIS_PORT
labelZh: Redis 端口
labelEn: Redis Port
required: true
rule: paramPort
type: number
- default: 0
edit: true
envKey: REDIS_DBINDEX
labelZh: Redis 索引
labelEn: Redis Index
required: true
type: number
- default: ""
edit: true
envKey: REDIS_USERNAME
labelZh: Redis 用户名
labelEn: Redis Username
required: false
type: text
- default: ""
edit: true
envKey: REDIS_PASSWORD
labelZh: Redis 密码
labelEn: Redis Password
required: false
type: password
- default: "false"
edit: true
envKey: IMMICH_IGNORE_MOUNT_CHECK_ERRORS
labelZh: 是否跳过目录检查
labelEn: Skip Mount Check
required: false
type: select
values:
- label: 跳过检查
value: "true"
- label: 不跳过检查
value: "false"

View File

@ -1,32 +0,0 @@
networks:
1panel-network:
external: true
name: immich-server
services:
immich-server:
image: ghcr.io/immich-app/immich-server:v1.132.3
container_name: immich-server-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
devices:
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
ports:
- ${PANEL_APP_PORT_HTTP}:2283
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
- /etc/localtime:/etc/localtime

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,156 +0,0 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_REDIS_SERVICE
required: true
type: service
default: redis
envKey: PANEL_REDIS_TYPE
labelZh: Redis 服务 (前置检查)
labelEn: Redis Service (Pre-check)
required: true
type: apps
values:
- label: Redis
value: redis
- default: "/home/immich-app"
edit: true
envKey: IMMICH_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2283
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 3003
edit: true
envKey: PANEL_APP_PORT_MACHINE_LEARNING
labelZh: 机器学习端口
labelEn: Machine Learning port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: DB_PASSWORD
labelEn: Database Password
labelZh: 数据库连接密码
random: true
required: true
rule: paramComplexity
type: password
- default: 5432
edit: true
envKey: PANEL_APP_PORT_DB
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "immich-pg14-vectors"
disabled: true
envKey: DB_HOSTNAME
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: "postgres"
disabled: true
envKey: DB_USERNAME
labelZh: 数据库 用户名
labelEn: Database User
required: true
type: text
- default: "immich"
disabled: true
envKey: DB_DATABASE_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
type: text
- default: "127.0.0.1"
edit: true
envKey: REDIS_HOSTNAME
labelZh: Redis 主机
labelEn: Redis Host
required: true
type: text
- default: 6379
edit: true
envKey: REDIS_PORT
labelZh: Redis 端口
labelEn: Redis Port
required: true
rule: paramPort
type: number
- default: 0
edit: true
envKey: REDIS_DBINDEX
labelZh: Redis 索引
labelEn: Redis Index
required: true
type: number
- default: ""
edit: true
envKey: REDIS_USERNAME
labelZh: Redis 用户名
labelEn: Redis Username
required: false
type: text
- default: ""
edit: true
envKey: REDIS_PASSWORD
labelZh: Redis 密码
labelEn: Redis Password
required: false
type: password
- default: "XLM-Roberta-Large-Vit-B-16Plus"
edit: true
envKey: MACHINE_LEARNING_PRELOAD__CLIP
labelEn: Machine Learning Preload Model
labelZh: 机器学习 预加载模型
required: false
type: text
- default: "buffalo_l"
edit: true
envKey: MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION
labelEn: Machine Learning Preload Model
labelZh: 人脸识别 预加载模型
required: false
type: select
values:
- label: antelopev2
value: "antelopev2"
- label: buffalo_l
value: "buffalo_l"
- label: buffalo_m
value: "buffalo_m"
- label: buffalo_s
value: "buffalo_s"
- default: "https://hf-mirror.com"
edit: true
envKey: HF_ENDPOINT
labelZh: Hugging Face 服务地址
labelEn: Hugging Face Endpoint
rule: paramExtUrl
required: false
type: text
- default: "false"
edit: true
envKey: IMMICH_IGNORE_MOUNT_CHECK_ERRORS
labelZh: 是否跳过目录检查
labelEn: Skip Mount Check
required: false
type: select
values:
- label: 跳过检查
value: "true"
- label: 不跳过检查
value: "false"

View File

@ -1,90 +0,0 @@
networks:
1panel-network:
external: true
name: immich
services:
immich-pg14-vectors:
image: tensorchord/pgvecto-rs:pg14-v0.2.0
container_name: pg14-vectors-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_DB:-5432}:5432
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
interval: 5m
start_interval: 30s
start_period: 5m
command:
[
'postgres',
'-c',
'shared_preload_libraries=vectors.so',
'-c',
'search_path="$$user", public, vectors',
'-c',
'logging_collector=on',
'-c',
'max_wal_size=2GB',
'-c',
'shared_buffers=512MB',
'-c',
'wal_compression=on',
]
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME:-postgres}
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
POSTGRES_INITDB_ARGS: '--data-checksums'
immich-server:
depends_on:
- immich-pg14-vectors
image: ghcr.io/immich-app/immich-server:v1.132.3
container_name: immich-server-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
devices: &default_devices
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
ports:
- ${PANEL_APP_PORT_HTTP}:2283
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
- /etc/localtime:/etc/localtime
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3
container_name: immich-machine-learning-${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
devices: *default_devices
ports:
- ${PANEL_APP_PORT_MACHINE_LEARNING}:3003
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${IMMICH_ROOT_PATH}/data/cache:/cache

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,17 +0,0 @@
#!/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

View File

@ -1,61 +0,0 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Network mode
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/jellyfin"
edit: true
envKey: JELLYFIN_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8096
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI Port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: HTTP_PROXY
labelZh: HTTP(s) 网络代理
labelEn: HTTP(s) Proxy
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -1,37 +0,0 @@
networks:
1panel-network:
external: true
services:
jellyfin:
image: jellyfin/jellyfin:10.9.11
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
network_mode: ${NETWORK_MODE}
user: 0:0
ports:
- ${PANEL_APP_PORT_HTTP}:8096
volumes:
- ${JELLYFIN_ROOT_PATH}/config:/config
- ${JELLYFIN_ROOT_PATH}/cache:/cache
- ${JELLYFIN_ROOT_PATH}/media:/media
- ${JELLYFIN_ROOT_PATH}/config/font:/config/font
- ${JELLYFIN_ROOT_PATH}/config/dejavu:/usr/share/fonts/truetype/dejavu
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
devices:
- /dev/dri:/dev/dri
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
# - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# - /dev/video11:/dev/video11
environment:
- ROC_ENABLE_PRE_VEGA=1
- HTTPS_PROXY=${HTTP_PROXY:-}
- NO_PROXY=localhost,127.0.0.1,::1

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,66 +0,0 @@
#!/bin/bash
if [[ -f .env ]]; then
source .env
BASE_URL="https://f.lifebus.top/public/1panel/appstore/jellyfin/"
DEJAVU_FILES=(
"DejaVuSans.ttf"
"DejaVuSans-Bold.ttf"
"DejaVuSansMono.ttf"
"DejaVuSansMono-Bold.ttf"
"DejaVuSerif.ttf"
"DejaVuSerif-Bold.ttf"
)
FONT_FILES=(
"NotoSansMonoCJKsc-Bold.woff2"
"NotoSansMonoCJKsc-Regular.otf"
"NotoSansCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff2"
"NotoSansMonoCJKsc-Bold.otf"
"NotoSansMonoCJKsc-Bold.woff"
"NotoSansCJKsc-Medium.otf"
"NotoSansCJKsc-Regular.otf"
"NotoSansCJKsc-Thin.woff2"
"NotoSansCJKsc-Thin.woff"
"NotoSansCJKsc-Regular.woff2"
"NotoSansCJKsc-Thin.otf"
"NotoSansCJKsc-Medium.woff"
"NotoSansCJKsc-Medium.woff2"
"NotoSansCJKsc-Light.woff"
"NotoSansCJKsc-Light.woff2"
"NotoSansCJKsc-Bold.otf"
"NotoSansCJKsc-Black.otf"
"NotoSansCJKsc-Light.otf"
"NotoSansCJKsc-Bold.woff"
"NotoSansCJKsc-DemiLight.otf"
"NotoSansCJKsc-Black.woff"
"NotoSansCJKsc-DemiLight.woff"
"NotoSansCJKsc-Black.woff2"
"NotoSansCJKsc-DemiLight.woff2"
"NotoSansCJKsc-Bold.woff2"
"font.css"
)
if [ ! -d "$JELLYFIN_ROOT_PATH/config/font" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/font"
for FILE in "${FONT_FILES[@]}"; do
wget -q "${BASE_URL}font/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/font/" || echo "Failed to download $FILE, continuing..."
done
fi
if [ ! -d "$JELLYFIN_ROOT_PATH/config/dejavu" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/dejavu"
for FILE in "${DEJAVU_FILES[@]}"; do
wget -q "${BASE_URL}dejavu/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/dejavu/" || echo "Failed to download $FILE, continuing..."
done
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,66 +0,0 @@
#!/bin/bash
if [[ -f .env ]]; then
source .env
BASE_URL="https://f.lifebus.top/public/1panel/appstore/jellyfin/"
DEJAVU_FILES=(
"DejaVuSans.ttf"
"DejaVuSans-Bold.ttf"
"DejaVuSansMono.ttf"
"DejaVuSansMono-Bold.ttf"
"DejaVuSerif.ttf"
"DejaVuSerif-Bold.ttf"
)
FONT_FILES=(
"NotoSansMonoCJKsc-Bold.woff2"
"NotoSansMonoCJKsc-Regular.otf"
"NotoSansCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff2"
"NotoSansMonoCJKsc-Bold.otf"
"NotoSansMonoCJKsc-Bold.woff"
"NotoSansCJKsc-Medium.otf"
"NotoSansCJKsc-Regular.otf"
"NotoSansCJKsc-Thin.woff2"
"NotoSansCJKsc-Thin.woff"
"NotoSansCJKsc-Regular.woff2"
"NotoSansCJKsc-Thin.otf"
"NotoSansCJKsc-Medium.woff"
"NotoSansCJKsc-Medium.woff2"
"NotoSansCJKsc-Light.woff"
"NotoSansCJKsc-Light.woff2"
"NotoSansCJKsc-Bold.otf"
"NotoSansCJKsc-Black.otf"
"NotoSansCJKsc-Light.otf"
"NotoSansCJKsc-Bold.woff"
"NotoSansCJKsc-DemiLight.otf"
"NotoSansCJKsc-Black.woff"
"NotoSansCJKsc-DemiLight.woff"
"NotoSansCJKsc-Black.woff2"
"NotoSansCJKsc-DemiLight.woff2"
"NotoSansCJKsc-Bold.woff2"
"font.css"
)
if [ ! -d "$JELLYFIN_ROOT_PATH/config/font" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/font"
for FILE in "${FONT_FILES[@]}"; do
wget -q "${BASE_URL}font/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/font/" || echo "Failed to download $FILE, continuing..."
done
fi
if [ ! -d "$JELLYFIN_ROOT_PATH/config/dejavu" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/dejavu"
for FILE in "${DEJAVU_FILES[@]}"; do
wget -q "${BASE_URL}dejavu/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/dejavu/" || echo "Failed to download $FILE, continuing..."
done
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -1,7 +1,7 @@
services:
libretv:
container_name: ${CONTAINER_NAME}
image: bestzwei/libretv:latest
image: bestzwei/libretv:202506142226
networks:
- 1panel-network
restart: always

View File

@ -1,185 +0,0 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
edit: true
envKey: PANEL_DB_TYPE
labelZh: MySQL 服务 (前置检查)
labelEn: Database Service (Pre-check)
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: MariaDB
value: mariadb
- label: Percona
value: percona
- default: "host"
edit: true
envKey: NETWORK_MODE
labelEn: Drive path
labelZh: 网络模式
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/nacos"
edit: true
envKey: NACOS_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8848
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: 9848
edit: true
envKey: PANEL_APP_PORT_GRPC_CLIENT
labelZh: Nacos gRPC 客户端端口
labelEn: Nacos gRPC client port
required: true
rule: paramPort
type: number
- default: 9849
edit: true
envKey: PANEL_APP_PORT_GRPC_SERVER
labelZh: Nacos gRPC 服务端端口
labelEn: Nacos gRPC server port
required: true
rule: paramPort
type: number
- default: "ip"
envKey: PREFER_HOST_MODE
labelZh: IP模式/域名模式
labelEn: IP mode/hostname mode
required: true
type: select
values:
- label: IP模式
value: "ip"
- label: 域名模式
value: "hostname"
- default: ""
edit: true
envKey: NACOS_SERVER_IP
labelZh: 服务IP
labelEn: Server IP
required: true
type: text
- default: "serverIdentity"
edit: true
envKey: NACOS_AUTH_IDENTITY_KEY
labelZh: Nacos身份验证密钥键
labelEn: Nacos auth identity key
required: true
type: text
- default: "security"
edit: true
envKey: NACOS_AUTH_IDENTITY_VALUE
labelZh: Nacos身份验证密钥值
labelEn: Nacos auth identity value
required: true
type: text
- default: "SecretKey012345678901234567890123456789012345678901234567890123456789"
edit: true
envKey: NACOS_AUTH_TOKEN
labelZh: Nacos身份验证令牌至少32位字符的Base64编码
labelEn: Nacos auth token
required: true
type: text
- default: "512m"
edit: true
envKey: JVM_XMS
labelZh: JVM_XMS (初始内存大小)
labelEn: JVM_XMS (Initial memory size)
required: true
type: text
- default: "2g"
edit: true
envKey: JVM_XMX
labelEn: JVM_XMX (Maximum memory size)
labelZh: JVM_XMX (最大内存大小)
required: true
type: text
- default: "128m"
edit: true
envKey: JVM_XMN
labelEn: JVM_XMN (New generation memory)
labelZh: JVM_XMN (新生代内存)
required: true
type: text
- default: "128m"
edit: true
envKey: JVM_MS
labelEn: JVM_MS (Initial metaspace)
labelZh: JVM_MS (初始元空间大小)
required: true
type: text
- default: "320m"
edit: true
envKey: JVM_MMS
labelEn: JVM_MMS (Maximum metaspace)
labelZh: JVM_MMS (最大元空间大小)
required: true
type: text
- default: "127.0.0.1"
edit: true
envKey: MYSQL_SERVICE_HOST
labelZh: 数据库 主机
labelEn: Database Host
required: true
type: text
- default: 3306
edit: true
envKey: MYSQL_SERVICE_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "nacos"
edit: true
envKey: MYSQL_SERVICE_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: MYSQL_SERVICE_PASSWORD
labelZh: 数据库 密码
labelEn: Database Password
required: true
type: password
- default: "nacos"
edit: true
envKey: MYSQL_SERVICE_DB_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
type: text
- default: "characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true"
edit: true
envKey: MYSQL_SERVICE_DB_PARAM
labelZh: 数据库 连接参数
labelEn: Database Connection Parameters
required: true
type: text

View File

@ -1,27 +0,0 @@
networks:
1panel-network:
external: true
services:
nacos:
image: nacos/nacos-server:v2.4.3
container_name: ${CONTAINER_NAME}
restart: always
labels:
createdBy: "Apps"
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP:-8848}:${PANEL_APP_PORT_HTTP:-8848}
- ${PANEL_APP_PORT_GRPC_CLIENT}:9848
- ${PANEL_APP_PORT_GRPC_SERVER}:9849
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${NACOS_ROOT_PATH}/logs:/home/nacos/logs
- ${NACOS_ROOT_PATH}/data:/home/nacos/data
environment:
- MODE=standalone
- NACOS_SERVER_PORT=${PANEL_APP_PORT_HTTP:-8848}
- NACOS_AUTH_ENABLE=true
- SPRING_DATASOURCE_PLATFORM=mysql

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -1,2 +0,0 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -1,227 +0,0 @@
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/******************************************/
/* 表名称 = config_info */
/******************************************/
CREATE TABLE `config_info`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
`group_id` varchar(128) DEFAULT NULL COMMENT 'group_id',
`content` longtext NOT NULL COMMENT 'content',
`md5` varchar(32) DEFAULT NULL COMMENT 'md5',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
`src_user` text COMMENT 'source user',
`src_ip` varchar(50) DEFAULT NULL COMMENT 'source ip',
`app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
`c_desc` varchar(256) DEFAULT NULL COMMENT 'configuration description',
`c_use` varchar(64) DEFAULT NULL COMMENT 'configuration usage',
`effect` varchar(64) DEFAULT NULL COMMENT '配置生效的描述',
`type` varchar(64) DEFAULT NULL COMMENT '配置的类型',
`c_schema` text COMMENT '配置的模式',
`encrypted_data_key` text NOT NULL COMMENT '密钥',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info';
/******************************************/
/* 表名称 = config_info_aggr */
/******************************************/
CREATE TABLE `config_info_aggr`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
`group_id` varchar(128) NOT NULL COMMENT 'group_id',
`datum_id` varchar(255) NOT NULL COMMENT 'datum_id',
`content` longtext NOT NULL COMMENT '内容',
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
`app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_configinfoaggr_datagrouptenantdatum` (`data_id`,`group_id`,`tenant_id`,`datum_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='增加租户字段';
/******************************************/
/* 表名称 = config_info_beta */
/******************************************/
CREATE TABLE `config_info_beta`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
`group_id` varchar(128) NOT NULL COMMENT 'group_id',
`app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
`content` longtext NOT NULL COMMENT 'content',
`beta_ips` varchar(1024) DEFAULT NULL COMMENT 'betaIps',
`md5` varchar(32) DEFAULT NULL COMMENT 'md5',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
`src_user` text COMMENT 'source user',
`src_ip` varchar(50) DEFAULT NULL COMMENT 'source ip',
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
`encrypted_data_key` text NOT NULL COMMENT '密钥',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info_beta';
/******************************************/
/* 表名称 = config_info_tag */
/******************************************/
CREATE TABLE `config_info_tag`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
`group_id` varchar(128) NOT NULL COMMENT 'group_id',
`tenant_id` varchar(128) DEFAULT '' COMMENT 'tenant_id',
`tag_id` varchar(128) NOT NULL COMMENT 'tag_id',
`app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
`content` longtext NOT NULL COMMENT 'content',
`md5` varchar(32) DEFAULT NULL COMMENT 'md5',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
`src_user` text COMMENT 'source user',
`src_ip` varchar(50) DEFAULT NULL COMMENT 'source ip',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_configinfotag_datagrouptenanttag` (`data_id`,`group_id`,`tenant_id`,`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_info_tag';
/******************************************/
/* 表名称 = config_tags_relation */
/******************************************/
CREATE TABLE `config_tags_relation`
(
`id` bigint(20) NOT NULL COMMENT 'id',
`tag_name` varchar(128) NOT NULL COMMENT 'tag_name',
`tag_type` varchar(64) DEFAULT NULL COMMENT 'tag_type',
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
`group_id` varchar(128) NOT NULL COMMENT 'group_id',
`tenant_id` varchar(128) DEFAULT '' COMMENT 'tenant_id',
`nid` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增长标识',
PRIMARY KEY (`nid`),
UNIQUE KEY `uk_configtagrelation_configidtag` (`id`,`tag_name`,`tag_type`),
KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='config_tag_relation';
/******************************************/
/* 表名称 = group_capacity */
/******************************************/
CREATE TABLE `group_capacity`
(
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`group_id` varchar(128) NOT NULL DEFAULT '' COMMENT 'Group ID空字符表示整个集群',
`quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配额0表示使用默认值',
`usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
`max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限单位为字节0表示使用默认值',
`max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数0表示使用默认值',
`max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限单位为字节0表示使用默认值',
`max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='集群、各Group容量信息表';
/******************************************/
/* 表名称 = his_config_info */
/******************************************/
CREATE TABLE `his_config_info`
(
`id` bigint(20) unsigned NOT NULL COMMENT 'id',
`nid` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增标识',
`data_id` varchar(255) NOT NULL COMMENT 'data_id',
`group_id` varchar(128) NOT NULL COMMENT 'group_id',
`app_name` varchar(128) DEFAULT NULL COMMENT 'app_name',
`content` longtext NOT NULL COMMENT 'content',
`md5` varchar(32) DEFAULT NULL COMMENT 'md5',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
`src_user` text COMMENT 'source user',
`src_ip` varchar(50) DEFAULT NULL COMMENT 'source ip',
`op_type` char(10) DEFAULT NULL COMMENT 'operation type',
`tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
`encrypted_data_key` text NOT NULL COMMENT '密钥',
PRIMARY KEY (`nid`),
KEY `idx_gmt_create` (`gmt_create`),
KEY `idx_gmt_modified` (`gmt_modified`),
KEY `idx_did` (`data_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='多租户改造';
/******************************************/
/* 表名称 = tenant_capacity */
/******************************************/
CREATE TABLE `tenant_capacity`
(
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`tenant_id` varchar(128) NOT NULL DEFAULT '' COMMENT 'Tenant ID',
`quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配额0表示使用默认值',
`usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
`max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限单位为字节0表示使用默认值',
`max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数',
`max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限单位为字节0表示使用默认值',
`max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='租户容量信息表';
CREATE TABLE `tenant_info`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`kp` varchar(128) NOT NULL COMMENT 'kp',
`tenant_id` varchar(128) default '' COMMENT 'tenant_id',
`tenant_name` varchar(128) default '' COMMENT 'tenant_name',
`tenant_desc` varchar(256) DEFAULT NULL COMMENT 'tenant_desc',
`create_source` varchar(32) DEFAULT NULL COMMENT 'create_source',
`gmt_create` bigint(20) NOT NULL COMMENT '创建时间',
`gmt_modified` bigint(20) NOT NULL COMMENT '修改时间',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_tenant_info_kptenantid` (`kp`,`tenant_id`),
KEY `idx_tenant_id` (`tenant_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='tenant_info';
CREATE TABLE `users`
(
`username` varchar(50) NOT NULL PRIMARY KEY COMMENT 'username',
`password` varchar(500) NOT NULL COMMENT 'password',
`enabled` boolean NOT NULL COMMENT 'enabled'
);
CREATE TABLE `roles`
(
`username` varchar(50) NOT NULL COMMENT 'username',
`role` varchar(50) NOT NULL COMMENT 'role',
UNIQUE INDEX `idx_user_role` (`username` ASC, `role` ASC) USING BTREE
);
CREATE TABLE `permissions`
(
`role` varchar(50) NOT NULL COMMENT 'role',
`resource` varchar(128) NOT NULL COMMENT 'resource',
`action` varchar(8) NOT NULL COMMENT 'action',
UNIQUE INDEX `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
);
INSERT INTO users (username, password, enabled)
VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', TRUE);
INSERT INTO roles (username, role)
VALUES ('nacos', 'ROLE_ADMIN');

Some files were not shown because too many files have changed in this diff Show More