feat:添加dashmachine到列表(感谢网友包子叔的投稿)

This commit is contained in:
okxlin 2023-09-04 01:45:29 +08:00
parent c52515cb87
commit 2d416dca46
6 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,55 @@
# DashMachine
## 默认账号密码
```
User: admin
Password: admin
```
## 安装
### Docker
```
docker create \
--name=dashmachine \
-p 5000:5000 \
-v path/to/data:/dashmachine/dashmachine/user_data \
--restart unless-stopped \
rmountjoy/dashmachine:latest
```
To run in a subfolder, use a CONTEXT_PATH environment variable. For example, to run at localhost:5000/dash:
```
docker create \
--name=dashmachine \
-p 5000:5000 \
-e CONTEXT_PATH=/dash
-v path/to/data:/dashmachine/dashmachine/user_data \
--restart unless-stopped \
rmountjoy/dashmachine:latest
```
### Synology
Check out this awesome guide: https://nashosted.com/manage-your-self-hosted-applications-using-dashmachine/
### Python
Instructions are for linux.
```
virtualenv --python=python3 DashMachineEnv
cd DashMachineEnv && source bin/activate
git clone https://github.com/rmountjoy92/DashMachine.git
cd DashMachine && pip install -r requirements.txt
python3 run.py
```
Then open a web browser and go to localhost:5000
## FAQs
1. application does not work in iframe
see https://github.com/rmountjoy92/DashMachine/issues/6
## 演示
![screenshot](https://raw.githubusercontent.com/rmountjoy92/DashMachine/master/screenshot1.png)
![screenshot](https://raw.githubusercontent.com/rmountjoy92/DashMachine/master/screenshot2.png)
![screenshot](https://raw.githubusercontent.com/rmountjoy92/DashMachine/master/screenshot3.png)
![screenshot](https://raw.githubusercontent.com/rmountjoy92/DashMachine/master/screenshot4.png)

20
apps/dashmachine/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: DashMachine
tags:
- 工具
title: 一个具有有趣功能的 Web 应用程序书签仪表板
type: 工具
description: 一个具有有趣功能的 Web 应用程序书签仪表板
additionalProperties:
key: dashmachine
name: DashMachine
tags:
- Tool
shortDescZh: 一个具有有趣功能的 Web 应用程序书签仪表板
shortDescEn: A web application bookmark dashboard, with fun features
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/rmountjoy92/DashMachine
github: https://github.com/rmountjoy92/DashMachine
document: https://github.com/rmountjoy92/DashMachine

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="dashmachine"
PANEL_APP_PORT_HTTP="40144"
DATA_PATH="./data"

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40144
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@ -0,0 +1,18 @@
version: '3'
services:
dashmachine:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:5000"
volumes:
- "${DATA_PATH}:/dashmachine/dashmachine/user_data"
image: rmountjoy/dashmachine:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/dashmachine/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB