servas
Docker 应用程序 from Jadehawk's Repository
概述
A self-hosted bookmark management tool.
Servas is based on Laravel and Inertia.js and uses Tailwind CSS and Svelte for the frontend.
It still needs a lot of work but developer is active and available at github
MUST DO FIRST:
- Create a Local directory (ex: /mnt/user/appdata/servas) where the ".env" & "servas.db" files will be stored.
- Create a file called .env and inside on it add the line: APP_KEY=
- Create a file called servas.db
Fill in the rest of this template.
Once the container is running, open the container's console and run the following command:
php artisan key:generate --force
---> This will generate a key and it will be stored in the .env file you created.
ReStart Container.
navigate to : http://localhost:8086/register ---> Here you will generate your admin account.
navigate to: http://localhost:8086/login
========================BELLOW IF USING MYSQL/MariaDB========================
You no longer need MySQL/MariaDB but if you still want to use it, then add the following lines to the .env file:
MySQLDB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=servas_db
DB_USERNAME=servas_db_user
DB_PASSWORD=password
Optional Requirements if using MySQL/MariaDB:
- MySQL / Mariadb Database already running and available.
- CREATE a database (ex. servas-db)
- CREATE a User for servas-db (ex. servas)
要求
- External database instance (MySQL/MariaDB) If using such DB. If not, then NO LONGER NEEDED
However, The preferred way to use Servas is in combination with a MariaDB container.
运行时参数
- 网络用户界面
http://[IP]:[PORT:80]/- 网络
bridge- 外壳
sh- 特权
- false
- 额外参数
--restart unless-stopped --log-opt max-size=50m --log-opt max-file=1
模板配置
- 目标
- 80
- 价值
- 8086
- 目标
- DB_CONNECTION
- 默认值
- sqlite
- 价值
- sqlite
- 目标
- DB_DATABASE
- 默认值
- /var/www/html/database/sqlite/servas.db
- 价值
- /var/www/html/database/sqlite/servas.db
- 目标
- DB_FOREIGN_KEYS
- 默认值
- true
- 价值
- true
create a .env file on servas folder
- 目标
- /var/www/html/.env
- 价值
- /mnt/user/appdata/servas/.env
- 目标
- /var/www/html/database/sqlite/servas.db
- 价值
- /mnt/user/appdata/servas/servas.db
- 默认值
- 99
- 价值
- 99
- 默认值
- 100
- 价值
- 100
- 目标
- AP_KEY
- 默认值
- production
- 价值
- production
- 默认值
- Servas
- 价值
- Servas
- 默认值
- false
- 价值
- false
- 默认值
- https://your-servas-instance
- 价值
- https://your-servas-instance
- 默认值
- true
- 价值
- true
下载统计数据
长期下载总量
详细信息
在Unraid 上运行 Servas 。
Servas 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。