Skip to content

gnlca/Servito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servito 🛎

It's a dashboard written with Next.js for your server.

ServitoDarkLight

Demo → servito.vercel.app

How to install as a Docker container

First clone the repo on your server (currently cpu temperature only works with raspberry pi)

git clone http://github.com/gnlca/Servito

cd into the folder

cd Servito/

Personalize Servito going to the public/ folder and changing the logo, favicon and apple bookmark icon

image

Then change the route of your apps in UserConfig.json

{
    "apps": {
        "Code": [
            "code",
            "http://hostname.local:PORT"
        ],
        "Homebridge": [
            "homebridge",
            "http://hostname.local:PORT"
        ],
        "Nextcloud": [
            "cloud",
            "http://hostname.local:PORT"
        ],
        "Portainer": [
            "servers",
            "http://hostname.local:PORT"
        ],
        "Adguard": [
            "adguard",
            "http://hostname.local:PORT"
        ],
        "NginxProxy": [
            "proxy",
            "http://hostname.local:PORT"
        ]
    }
}

Install the dependencies

npm install

Build the project

npm run build

Then build the image

sudo docker build . -t servito

And run the container

sudo docker run --name Servito --hostname [YOUR_HOSTNAME] -p  [EXPOSED_PORT]:3000 servito

Done

I will create a configuration page in the next release and deploy the image to docker hub for an easier install process

Enable weather

Currently using html5 geolocation that needs https to work (will use another way to retrieve location in the next release) Get your free api key at openweathermap.org and paste it in at

/api/OWMapiKey?key=YOUR_API_KEY

restart Servito container and you should see weather info

@gianlucandretta Gianluca Andretta

About

Servito🛎 is a customizable dashboard for your server made with Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published