You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Running Wiretrustee UI Dashboard requires the following Auth0 environmental variables to be set (see docker command below):
41
+
3. Running NetBird UI Dashboard requires the following Auth0 environmental variables to be set (see docker command below):
42
42
43
43
`AUTH0_DOMAIN``AUTH0_CLIENT_ID``AUTH0_AUDIENCE`
44
44
45
45
To obtain these, please use [Auth0 React SDK Guide](https://auth0.com/docs/quickstart/spa/react/01-login#configure-auth0) up until "Configure Allowed Web Origins"
46
46
47
-
4.Wiretrustee UI Dashboard uses Wiretrustee Management Service HTTP API, so setting `NETBIRD_MGMT_API_ENDPOINT` is required. Most likely it will be `http://localhost:33071` if you are hosting Management API on the same server.
47
+
4.NetBird UI Dashboard uses NetBirds Management Service HTTP API, so setting `NETBIRD_MGMT_API_ENDPOINT` is required. Most likely it will be `http://localhost:33071` if you are hosting Management API on the same server.
48
48
5. Run docker container without SSL (Let's Encrypt):
49
49
50
50
```shell
51
-
docker run -d --name wiretrustee-dashboard \
51
+
docker run -d --name netbird-dashboard \
52
52
--rm -p 80:80 -p 443:443 \
53
53
-e AUTH0_DOMAIN=<SET YOUR AUTH DOMAIN> \
54
54
-e AUTH0_CLIENT_ID=<SET YOUR CLIENT ID> \
55
55
-e AUTH0_AUDIENCE=<SET YOUR AUDIENCE> \
56
56
-e NETBIRD_MGMT_API_ENDPOINT=<SET YOUR MANAGEMETN API URL> \
57
-
wiretrustee/dashboard:main
57
+
netbirdio/dashboard:main
58
58
```
59
59
6. Run docker container with SSL (Let's Encrypt):
60
60
61
61
```shell
62
-
docker run -d --name wiretrustee-dashboard \
62
+
docker run -d --name netbird-dashboard \
63
63
--rm -p 80:80 -p 443:443 \
64
64
-e NGINX_SSL_PORT=443 \
65
65
-e LETSENCRYPT_DOMAIN=<YOUR PUBLIC DOMAIN> \
@@ -68,11 +68,26 @@ Auth0 so far is the only 3rd party dependency that can't be really self-hosted.
68
68
-e AUTH0_CLIENT_ID=<SET YOUR CLEITN ID> \
69
69
-e AUTH0_AUDIENCE=<SET YOUR AUDIENCE> \
70
70
-e NETBIRD_MGMT_API_ENDPOINT=<SET YOUR MANAGEMETN API URL> \
71
-
wiretrustee/dashboard:main
71
+
netbirdio/dashboard:main
72
72
```
73
73
74
74
## How to run local development
75
-
1. Install node 16
76
-
2. create and update the `src/.local-config.json` file. This file should contain values to be replaced from `src/config.json`
77
-
3. run `npm install`
78
-
4. run `npm run start dev`
75
+
76
+
1. Install [Node](https://nodejs.org/)
77
+
2. Create and update the `.local-config.json` file. This file should contain values to be replaced from `config.json`
78
+
3. Run `npm install` to install dependencies
79
+
4. Run `npm run dev` to start the development server
80
+
81
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
82
+
83
+
You can start editing by modifying the code inside `src/..`
84
+
The page auto-updates as you edit the file.
85
+
86
+
## How to migrate from old dashboard (v1)
87
+
88
+
The new dashboard comes with a new docker image `netbirdio/dashboard:main`.
89
+
To migrate from the old dashboard (v1) `wiretrustee/dashboard:main` to the new one, please follow the steps below.
90
+
91
+
1. Stop the dashboard container `docker compose down dashboard`
92
+
2. Replace the docker image name in your `docker-compose.yml` with `netbirdio/dashboard:main`
93
+
3. Recreate the dashboard container `docker compose up -d --force-recreate dashboard`
0 commit comments