mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 12:52:18 +08:00
feat:添加dujiaoka到列表
This commit is contained in:
parent
fd942e674d
commit
705dd03e41
25
apps/dujiaoka/README.md
Normal file
25
apps/dujiaoka/README.md
Normal file
@ -0,0 +1,25 @@
|
||||
<p align="center"><img src="https://i.loli.net/2020/04/07/nAzjDJlX7oc5qEw.png" width="400"></p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-blue" alt="license MIT"></a>
|
||||
<a href="https://github.com/assimon/dujiaoka/releases/tag/2.0.4"><img src="https://img.shields.io/badge/version-2.0.4-red" alt="version 2.0.4"></a>
|
||||
<a href="https://www.php.net/releases/7_4_0.php"><img src="https://img.shields.io/badge/PHP-7.4-lightgrey" alt="php74"></a>
|
||||
<a href="https://shang.qq.com/wpa/qunwpa?idkey=37b6b06f7c941dae20dcd5784088905d6461064d7f33478692f0c4215546cee0"><img src="https://img.shields.io/badge/QQ%E7%BE%A4-568679748-green" alt="QQ群:568679748"></a>
|
||||
</p>
|
||||
|
||||
## 独角数卡
|
||||
|
||||
开源式站长自动化售货解决方案、高效、稳定、快速!
|
||||
|
||||
## 默认后台
|
||||
|
||||
- 后台路径 `/admin`
|
||||
- 默认管理员账号 `admin`
|
||||
- 默认管理员密码 `admin`
|
||||
|
||||
## 使用说明
|
||||
|
||||
- 1. 安装时需要先创建 MySQL 数据库
|
||||
- 2. 首次安装,不需要在意运行是否正常,需要先填写应用目录下的配置文件,例如`/opt/1panel/apps/local/dujiaoka/dujiaoka/data/env.conf`,然后重建应用
|
||||
- 3. 填写`env.conf`完成后,然后访问端口进入初始化安装,填写相关数据库与 redis 信息,要与`env.conf`一致
|
||||
- 4. 完成安装后点击编辑应用参数,将`是否进行初始化安装`的选项改为`false`,保存确定后就会重建应用
|
19
apps/dujiaoka/data.yml
Normal file
19
apps/dujiaoka/data.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: 独角数卡
|
||||
tags:
|
||||
- 建站
|
||||
title: 开源自动售货解决方案
|
||||
description: 开源站长自动化售货解决方案
|
||||
additionalProperties:
|
||||
key: dujiaoka
|
||||
name: 独角数卡
|
||||
tags:
|
||||
- WebSite
|
||||
shortDescZh: 开源站长自动化售货解决方案
|
||||
shortDescEn: Open-source automated sales solution for webmasters
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://github.com/assimon/dujiaoka
|
||||
github: https://github.com/assimon/dujiaoka
|
||||
document: https://github.com/assimon/dujiaoka
|
4
apps/dujiaoka/latest/.env.sample
Normal file
4
apps/dujiaoka/latest/.env.sample
Normal file
@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="dujiaoka"
|
||||
INSTALL="true"
|
||||
MODIFY="false"
|
||||
PANEL_APP_PORT_HTTP="40256"
|
34
apps/dujiaoka/latest/data.yml
Normal file
34
apps/dujiaoka/latest/data.yml
Normal file
@ -0,0 +1,34 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40256
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: INSTALL
|
||||
labelEn: Whether to perform initial installation
|
||||
labelZh: 是否进行初始化安装
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "false"
|
||||
value: "false"
|
||||
- label: "true"
|
||||
value: "true"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: MODIFY
|
||||
labelEn: Modified or not
|
||||
labelZh: 是否已修改
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "false"
|
||||
value: "false"
|
||||
- label: "true"
|
||||
value: "true"
|
47
apps/dujiaoka/latest/data/env.conf
Normal file
47
apps/dujiaoka/latest/data/env.conf
Normal file
@ -0,0 +1,47 @@
|
||||
APP_NAME=独角数卡
|
||||
APP_ENV=local
|
||||
APP_KEY=base64:hDVkYhfkUjaePiaI1tcBT7G8bh2A8RQxwWIGkq7BO18=
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://dujiaoka.test
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
|
||||
# 数据库配置
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=db
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=dujiaoka
|
||||
DB_USERNAME=dujiaoka
|
||||
DB_PASSWORD=YOUR_PASSWORD
|
||||
|
||||
# redis 配置
|
||||
REDIS_HOST=redis
|
||||
REDIS_PASSWORD=
|
||||
REDIS_PORT=6379
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
|
||||
# 缓存配置
|
||||
# file 为磁盘文件 redis 为内存级别
|
||||
# redis 为内存需要安装好 redis 服务端并配置
|
||||
CACHE_DRIVER=redis
|
||||
|
||||
# 异步消息队列
|
||||
# sync 为同步 redis 为异步
|
||||
# 使用 redis 异步需要安装好 redis 服务端并配置
|
||||
QUEUE_CONNECTION=redis
|
||||
|
||||
# 后台语言
|
||||
## zh_CN 简体中文
|
||||
## zh_TW 繁体中文
|
||||
## en 英文
|
||||
DUJIAO_ADMIN_LANGUAGE=zh_CN
|
||||
|
||||
# 后台登录地址
|
||||
ADMIN_ROUTE_PREFIX=/admin
|
||||
|
||||
# 后台 https 支持 docker 部署无需开启
|
||||
#ADMIN_HTTPS=true
|
0
apps/dujiaoka/latest/data/storage/.gitkeep
Normal file
0
apps/dujiaoka/latest/data/storage/.gitkeep
Normal file
0
apps/dujiaoka/latest/data/uploads/.gitkeep
Normal file
0
apps/dujiaoka/latest/data/uploads/.gitkeep
Normal file
22
apps/dujiaoka/latest/docker-compose.yml
Normal file
22
apps/dujiaoka/latest/docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
services:
|
||||
dujiaoka:
|
||||
image: "stilleshan/dujiaoka:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
volumes:
|
||||
- ./data/env.conf:/dujiaoka/.env
|
||||
- ./data/uploads:/dujiaoka/public/uploads
|
||||
- ./data/storage:/dujiaoka/storage
|
||||
environment:
|
||||
- INSTALL=${INSTALL}
|
||||
- MODIFY=${MODIFY}
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
3
apps/dujiaoka/latest/scripts/init.sh
Normal file
3
apps/dujiaoka/latest/scripts/init.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
chmod -R 777 data/storage data/uploads data/env.conf
|
BIN
apps/dujiaoka/logo.png
Normal file
BIN
apps/dujiaoka/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Loading…
Reference in New Issue
Block a user