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:
@@ -34,6 +34,3 @@ REDIS_PORT=6379
|
||||
# Redis 连接密码
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# Redis 数据库索引 [必填]
|
||||
REDIS_DB=0
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ log:
|
||||
|
||||
database:
|
||||
driver: sqlite
|
||||
dsn: ./db/dujiao.db
|
||||
dsn: ./db/dujiao.db?_busy_timeout=5000&_journal_mode=WAL&_synchronous=NORMAL
|
||||
pool:
|
||||
max_open_conns: 1
|
||||
max_idle_conns: 1
|
||||
@@ -21,20 +21,17 @@ database:
|
||||
conn_max_idle_time_seconds: 0
|
||||
|
||||
jwt:
|
||||
secret: your-secret-key-change-in-production-please
|
||||
secret: "dev-admin-jwt-secret-change-me-please-32chars"
|
||||
expire_hours: 24
|
||||
|
||||
user_jwt:
|
||||
secret: user-secret-key-change-in-production-please
|
||||
secret: "dev-user-jwt-secret-change-me-please-32chars"
|
||||
expire_hours: 24
|
||||
remember_me_expire_hours: 168
|
||||
|
||||
telegram_auth:
|
||||
enabled: false
|
||||
bot_username: ""
|
||||
bot_token: ""
|
||||
login_expire_seconds: 300
|
||||
replay_ttl_seconds: 300
|
||||
bootstrap:
|
||||
default_admin_username: ""
|
||||
default_admin_password: ""
|
||||
|
||||
redis:
|
||||
enabled: true
|
||||
@@ -104,6 +101,13 @@ security:
|
||||
require_number: true
|
||||
require_special: false
|
||||
|
||||
telegram_auth:
|
||||
enabled: false
|
||||
bot_username: ""
|
||||
bot_token: ""
|
||||
login_expire_seconds: 300
|
||||
replay_ttl_seconds: 300
|
||||
|
||||
email:
|
||||
enabled: true
|
||||
host: smtp.xxx.com
|
||||
|
||||
@@ -94,10 +94,3 @@ additionalProperties:
|
||||
labelEn: Redis Connection Password
|
||||
required: false
|
||||
type: password
|
||||
- default: 0
|
||||
edit: true
|
||||
envKey: REDIS_DB
|
||||
labelZh: Redis 数据库索引
|
||||
labelEn: Redis Database Index
|
||||
required: true
|
||||
type: number
|
||||
|
||||
@@ -9,9 +9,6 @@ services:
|
||||
depends_on:
|
||||
dujiaonext-api:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: dujiaonext/admin:v0.1.1
|
||||
@@ -30,7 +27,6 @@ services:
|
||||
- QUEUE_HOST=${REDIS_HOST:-}
|
||||
- QUEUE_PORT=${REDIS_PORT:-}
|
||||
- QUEUE_PASSWORD=${REDIS_PASSWORD:-}
|
||||
- QUEUE_DB=${REDIS_DB:-}
|
||||
healthcheck:
|
||||
interval: 10s
|
||||
retries: 10
|
||||
@@ -58,9 +54,6 @@ services:
|
||||
depends_on:
|
||||
dujiaonext-api:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: dujiaonext/user:v0.1.1
|
||||
|
||||
@@ -21,7 +21,7 @@ if [ -f .env ]; then
|
||||
|
||||
cp ./config/config.yml "$DUJIAONEXT_ROOT_PATH/config/config.yml"
|
||||
|
||||
chmod -R 777 "$DUJIAONEXT_ROOT_PATH/data"
|
||||
chmod -R 0777 "$DUJIAONEXT_ROOT_PATH"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user