1
0

feat:添加autobangumi到列表

This commit is contained in:
okxlin
2024-09-26 01:38:55 +08:00
parent be683e1a25
commit 9850715291
9 changed files with 217 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
CONFIG_PATH="./data/config"
CONTAINER_NAME="autobangumi"
DATA_PATH="./data/data"
DNS_SERVER="223.5.5.5"
PANEL_APP_PORT_HTTP=40298
PGID=0
PUID=0
TIME_ZONE="Asia/Shanghai"
UMASK=022

View File

@@ -0,0 +1,59 @@
additionalProperties:
formFields:
- default: "40298"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data/config"
edit: true
envKey: CONFIG_PATH
labelEn: Config Path
labelZh: 配置路径
required: true
type: text
- default: "./data/data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "0"
edit: true
envKey: PUID
labelEn: User ID
labelZh: 用户 ID
required: true
type: number
- default: "0"
edit: true
envKey: PGID
labelEn: Group ID
labelZh: 组 ID
required: true
type: number
- default: "022"
edit: true
envKey: UMASK
labelEn: Umask
labelZh: 掩码权限
required: true
type: text
- default: "223.5.5.5"
edit: true
envKey: DNS_SERVER
labelEn: DNS Server
labelZh: DNS 服务器
required: true
type: text
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text

View File

@@ -0,0 +1,25 @@
services:
autobangumi:
image: "estrellaxd/auto_bangumi:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:7892"
volumes:
- "${CONFIG_PATH}:/app/config"
- "${DATA_PATH}:/app/data"
environment:
- TZ=${TIME_ZONE}
- PGID=${PGID}
- PUID=${PUID}
- UMASK=${UMASK}
dns:
- ${DNS_SERVER}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true