mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-02-26 16:33:14 +08:00
docs: update README.md
This commit is contained in:
parent
66782a5b0a
commit
3af3992f03
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
@ -156,6 +156,27 @@ Advanced manual setups are also supported. Check the following environment varia
|
|||
|
||||
ZeroUI could be deployed as a regular nodejs web application, but it requires ZeroTier controller that is installed with `zerotier-one` package. More info about the network controller you could read [here](https://github.com/zerotier/ZeroTierOne/tree/master/controller/#readme).
|
||||
|
||||
<details>
|
||||
<summary>Controller setup tips</summary>
|
||||
<br>
|
||||
|
||||
If you are using the existing controller on the host, it may be necessary to allow connection from the Docker container.
|
||||
You could do it in two ways:
|
||||
|
||||
1. Allowing controller management from any IP address:
|
||||
|
||||
```sh
|
||||
echo "{\"settings\": {\"portMappingEnabled\": true,\"softwareUpdate\": \"disable\",\"allowManagementFrom\": [\"0.0.0.0/0\"]}}" > /var/lib/zerotier-one/local.conf
|
||||
```
|
||||
|
||||
> Warning: don't forget to block connections to 9993/TCP from WAN. Direct controller API does not mean to be exposed to WAN, it should be proxified via ZeroUI backend.
|
||||
|
||||
2. Adding `network_mode: "host"` to zero-ui in docker-compose.yml.
|
||||
|
||||
More info is provided in the following [discussion](https://github.com/dec0dOS/zero-ui/discussions/8).
|
||||
|
||||
</details>
|
||||
|
||||
## Usage
|
||||
|
||||
After installation, log in with your credentials that are declared with ZU_DEFAULT_USERNAME and ZU_DEFAULT_PASSWORD.
|
||||
|
|
Loading…
Reference in a new issue