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
Copy file name to clipboardExpand all lines: README.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ If you are using docker, you can install `headscale` alongside `headscale-ui`, l
13
13
version: '3.5'
14
14
services:
15
15
headscale:
16
-
image: headscale/headscale:latest
16
+
image: headscale/headscale:stable
17
17
container_name: headscale
18
18
volumes:
19
19
- ./container-config:/etc/headscale
@@ -27,7 +27,8 @@ services:
27
27
restart: unless-stopped
28
28
container_name: headscale-ui
29
29
# ports:
30
-
# - 9443:443
30
+
# - 8443:8443
31
+
# - 8080:8080
31
32
```
32
33
33
34
Headscale UI serves on port 443 and uses a self signed cert by default. You will need to add a `config.yaml` file under your `container-config` folder so that `headscale` has all of the required settings declared. An example from the official `headscale` repo is [here](https://github.com/juanfont/headscale/blob/main/config-example.yaml).
@@ -36,19 +37,14 @@ Headscale UI serves on port 443 and uses a self signed cert by default. You will
36
37
The docker container lets you set the following settings:
37
38
| Variable | Description | Example |
38
39
|----|----|----|
39
-
| HTTP_PORT | Sets the HTTP port to an alternate value |`80`|
40
-
| HTTPS_PORT | Sets the HTTPS port to an alternate value |`443`|
40
+
| HTTP_PORT | Sets the HTTP port to an alternate value |`8080`|
41
+
| HTTPS_PORT | Sets the HTTPS port to an alternate value |`8443`|
41
42
42
43
### Proxy Settings
43
44
You will need a reverse proxy to install `headscale-ui` on your domain. Here is an example [Caddy Config](https://caddyserver.com/) to achieve this:
44
45
```
45
46
https://hs.yourdomain.com.au {
46
-
reverse_proxy /web* https://headscale-ui {
47
-
transport http {
48
-
tls_insecure_skip_verify
49
-
}
50
-
}
51
-
47
+
reverse_proxy /web* http://headscale-ui:8080
52
48
reverse_proxy * http://headscale:8080
53
49
}
54
50
@@ -92,6 +88,7 @@ See [Other Configurations](/documentation/configuration.md) for further proxy ex
92
88
The following versions correspond to the appropriate headscale version
0 commit comments