servas

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:

MySQL

DB_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

模板配置

Web UIPorttcp
目标
80
价值
8086
(SQLite) DB_CONNECTIONVariable
目标
DB_CONNECTION
默认值
sqlite
价值
sqlite
(SQLite) DB_DATABASEVariable
目标
DB_DATABASE
默认值
/var/www/html/database/sqlite/servas.db
价值
/var/www/html/database/sqlite/servas.db
(SQLite) DB_FOREIGN_KEYSVariable
目标
DB_FOREIGN_KEYS
默认值
true
价值
true
(.env) FilePathrw

create a .env file on servas folder

目标
/var/www/html/.env
价值
/mnt/user/appdata/servas/.env
(servas.db) Database FilePathrw
目标
/var/www/html/database/sqlite/servas.db
价值
/mnt/user/appdata/servas/servas.db
PUIDVariable
默认值
99
价值
99
PGIDVariable
默认值
100
价值
100
APP_KEYVariable
目标
AP_KEY
APP_ENVVariable
默认值
production
价值
production
APP_NAMEVariable
默认值
Servas
价值
Servas
APP_DEBUGVariable
默认值
false
价值
false
APP_URLVariable
默认值
https://your-servas-instance
价值
https://your-servas-instance
SERVAS_ENABLE_REGISTRATIONVariable
默认值
true
价值
true

下载统计数据

55,278
下载总数
1,702
本月
2,123
平均每月

长期下载总量

加载图表...

详细信息

存储库
beromir/servas
最后更新2026-04-15
初见2022-05-30

在Unraid 上运行 Servas 。

Servas 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。