Spanish Total.js
Slovenčina
Dokumentácia Pre AI agentov
Obsah

Prevádzkuj v produkcii

Make a Dashboard server ready for other people: release mode, credentials, HTTPS and access.

.md Web

Táto stránka ešte nie je preložená. Čítaš originál.

Na tejto stránke

Before other people use Dashboard, prepare the server.

Change the first credentials

The sign-in page shows the first account to anyone until somebody signs in. Start Dashboard where only you can reach it, sign in, and change the credentials. See Sign in for the first time.

Start in release mode

npm start runs Dashboard in debug mode, which watches the files and restarts the app when they change. On a server, start it in release mode:

node index.js 8000 --release

Use a process manager or a system service so that Dashboard starts again after a restart of the server.

Use HTTPS

Put Dashboard behind a web server such as NGINX that handles HTTPS, and let it forward the requests to the port of Dashboard. Then people sign in over an encrypted connection.

Limit who can reach it

  • Let only the people who need Dashboard reach the server, for example through a firewall or a VPN.
  • Give the database user in database read access only to the tables your views use. Dashboard only reads data.
  • If you turn on the Reports API, use a long random token and keep it secret.

Back up

Back up the data of Dashboard regularly. See Back up Dashboard.

Vyrobené v Európe