mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
@@ -11,7 +11,7 @@ services:
|
||||
- TZ=Asia/Shanghai
|
||||
- LOG_LEVEL=info
|
||||
- PORT=${PANEL_APP_PORT_HTTP:-45876}
|
||||
image: henrygd/beszel-agent:0.12.0
|
||||
image: henrygd/beszel-agent:0.12.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
network_mode: ${NETWORK_MODE:-host}
|
||||
|
||||
@@ -9,7 +9,7 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: henrygd/beszel:0.12.0
|
||||
image: henrygd/beszel:0.12.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- verificationCodeTimeout=10
|
||||
- appname=casdoor
|
||||
- authState=casdoor
|
||||
image: casbin/casdoor:v1.986.0
|
||||
image: casbin/casdoor:v1.988.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# MySQL 服务 (前置检查) [必填]
|
||||
PANEL_DB_TYPE=mysql
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=8080
|
||||
|
||||
# JWT 密钥 [必填]
|
||||
JWT_SECRET=
|
||||
|
||||
# 数据库 主机 [必填]
|
||||
DATABASE_HOST=127.0.0.1
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
DATABASE_PORT=3306
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
DATABASE_NAME=kotatsu-syncserver
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
DATABASE_USER=kotatsu-syncserver
|
||||
|
||||
# 数据库 密码 [必填]
|
||||
DATABASE_PASSWORD=
|
||||
|
||||
# 允许新用户注册 [必填]
|
||||
ALLOW_NEW_REGISTER=true
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
drop table if exists favourites;
|
||||
|
||||
drop table if exists categories;
|
||||
|
||||
drop table if exists history;
|
||||
|
||||
drop table if exists manga_tags;
|
||||
|
||||
drop table if exists manga;
|
||||
|
||||
drop table if exists tags;
|
||||
|
||||
drop table if exists users;
|
||||
|
||||
create table manga
|
||||
(
|
||||
id bigint not null,
|
||||
title varchar(84) not null,
|
||||
alt_title varchar(84) null,
|
||||
url varchar(255) not null,
|
||||
public_url varchar(255) not null,
|
||||
rating float not null,
|
||||
content_rating char(12) null,
|
||||
cover_url varchar(255) not null,
|
||||
large_cover_url varchar(255) null,
|
||||
state char(12) null,
|
||||
author varchar(64) null,
|
||||
source varchar(32) not null,
|
||||
primary key (id)
|
||||
);
|
||||
|
||||
create table tags
|
||||
(
|
||||
id bigint not null,
|
||||
title varchar(64) not null,
|
||||
`key` varchar(120) not null,
|
||||
source varchar(32) not null,
|
||||
primary key (id)
|
||||
);
|
||||
|
||||
create table manga_tags
|
||||
(
|
||||
manga_id bigint not null,
|
||||
tag_id bigint not null,
|
||||
primary key (manga_id, tag_id),
|
||||
constraint manga_tags_ibfk_1
|
||||
foreign key (tag_id) references tags (id),
|
||||
constraint manga_tags_ibfk_2
|
||||
foreign key (manga_id) references manga (id)
|
||||
on delete cascade
|
||||
);
|
||||
|
||||
create index tag_id
|
||||
on manga_tags (tag_id);
|
||||
|
||||
create table users
|
||||
(
|
||||
id int auto_increment
|
||||
primary key,
|
||||
email varchar(120) not null,
|
||||
password char(32) not null,
|
||||
nickname varchar(84) null,
|
||||
favourites_sync_timestamp bigint null,
|
||||
history_sync_timestamp bigint null
|
||||
);
|
||||
|
||||
create table categories
|
||||
(
|
||||
id bigint not null,
|
||||
created_at bigint not null,
|
||||
sort_key int not null,
|
||||
title varchar(120) not null,
|
||||
`order` char(16) not null,
|
||||
user_id int not null,
|
||||
track tinyint(1) not null,
|
||||
show_in_lib tinyint(1) not null,
|
||||
deleted_at bigint not null,
|
||||
primary key (id, user_id),
|
||||
constraint categories_ibfk_1
|
||||
foreign key (user_id) references users (id)
|
||||
on delete cascade
|
||||
);
|
||||
|
||||
create index categories_id_index
|
||||
on categories (id);
|
||||
|
||||
create table favourites
|
||||
(
|
||||
manga_id bigint not null,
|
||||
category_id bigint not null,
|
||||
sort_key int not null,
|
||||
pinned tinyint(1) not null,
|
||||
created_at bigint not null,
|
||||
deleted_at bigint not null,
|
||||
user_id int not null,
|
||||
primary key (manga_id, category_id, user_id),
|
||||
constraint favourites_categories_id_pk
|
||||
foreign key (category_id, user_id) references categories (id, user_id),
|
||||
constraint favourites_ibfk_1
|
||||
foreign key (manga_id) references manga (id),
|
||||
constraint favourites_ibfk_2
|
||||
foreign key (user_id) references users (id)
|
||||
);
|
||||
|
||||
create index user_id
|
||||
on favourites (user_id);
|
||||
|
||||
create table history
|
||||
(
|
||||
manga_id bigint not null,
|
||||
created_at bigint not null,
|
||||
updated_at bigint not null,
|
||||
chapter_id bigint not null,
|
||||
page smallint not null,
|
||||
scroll double not null,
|
||||
percent double not null,
|
||||
chapters int not null,
|
||||
deleted_at bigint not null,
|
||||
user_id int not null,
|
||||
primary key (user_id, manga_id),
|
||||
constraint history_ibfk_1
|
||||
foreign key (manga_id) references manga (id),
|
||||
constraint history_ibfk_2
|
||||
foreign key (user_id) references users (id)
|
||||
on delete cascade
|
||||
);
|
||||
|
||||
create index manga_id
|
||||
on history (manga_id);
|
||||
|
||||
create unique index users_email_uindex
|
||||
on users (email);
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
kotatsu-syncserver:
|
||||
container_name: kotatsu
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: qyg2297248353/kotatsu-syncserver:v20250725
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
restart: always
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -57,7 +57,7 @@ services:
|
||||
- -f
|
||||
- http://localhost:1200/healthz?key=${ACCESS_KEY}
|
||||
timeout: 10s
|
||||
image: diygod/rsshub:2025-07-24
|
||||
image: diygod/rsshub:2025-07-25
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- WEBDAV_BACKEND=http://sp-webdav
|
||||
image: johannesjo/super-productivity:v14.1.0
|
||||
image: johannesjo/super-productivity:v14.2.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user