@@ -90,10 +90,10 @@ Images are built for `amd64` by default, with optional support for `arm64` and o
9090
9191The following directories are used for configuration and can be mapped for persistent storage.
9292
93- | Directory | Description |
94- | --------- | ----------------------------- |
95- | ` /data/ ` | ZeroTier state information |
96- | ` /logs/ ` | zerotier Log Output Directory |
93+ | Directory | Description |
94+ | --------- | -------------------------- |
95+ | ` /data/ ` | ZeroTier state information |
96+ | ` /logs/ ` | Log Output Directory |
9797
9898### Environment Variables
9999
@@ -128,6 +128,7 @@ Below is the complete list of available options that can be used to customize yo
128128| ` CONTROLLER_ENABLE_PORT_MAPPING ` | Enable Port mapping | ` TRUE ` | |
129129| ` CONTROLLER_LISTEN_PORT ` | Zerotier Controller listen port | ` 9993 ` | |
130130| ` CONTROLLER_LOG_FILE ` | Controller Log File | ` controller.log ` | |
131+ | ` CONTROLLER_LOG_PATH ` | Where to store logs | ` /logs/zerotier/ ` | |
131132| ` CONTROLLER_MANAGEMENT_NETWORKS ` | Comma seperated value of networks allowed to manage controller | ` 0.0.0.0/0 ` | |
132133| ` CONTROLLER_USER ` | What username to run controller as | ` root ` | |
133134| ` CONTROLLER_NETWORK ` | (optional) Networks to join as Controller | | x |
@@ -136,19 +137,24 @@ Below is the complete list of available options that can be used to customize yo
136137
137138#### UI Options
138139
139- | Variable | Description | Default | ` _FILE ` |
140- | ------------------- | -------------------------------------------------- | -------------------------------------------- | ------- |
141- | ` ENABLE_NGINX ` | If wanting to use Nginx as proxy to UI_LISTEN_PORT | ` TRUE ` | |
142- | ` NGINX_LISTEN_PORT ` | Nginx Listening Port | ` 80 ` | |
143- | ` UI_CONTROLLER_URL ` | How can the UI access the controller | ` http://localhost:${CONTROLLER_LISTEN_PORT} ` | |
144- | ` UI_DB_HOST ` | DB Host for Postgresql | | x |
145- | ` UI_DB_NAME ` | DB Name for UI | | x |
146- | ` UI_DB_PASS ` | Password for UI_DB_USER | | x |
147- | ` UI_DB_PORT ` | DB Port for Postgresql | ` 5432 ` | x |
148- | ` UI_DB_USER ` | DB User for UI_DB_NAME | | x |
149- | ` UI_LISTEN_PORT ` | What port for the UI to listen on | ` 3000 ` | |
150- | ` UI_SECRET ` | Random secret for session and cookie storage | ` random ` | x |
151- | ` UI_SITE_NAME ` | Site name to display on UI | ` ZTNET ` | |
140+ | Variable | Description | Default | ` _FILE ` |
141+ | ------------------- | -------------------------------------------------------------- | -------------------------------------------- | ------- |
142+ | ` ENABLE_NGINX ` | If wanting to use Nginx as proxy to UI_LISTEN_PORT/UI_HOSTNAME | ` TRUE ` | |
143+ | ` NGINX_LISTEN_PORT ` | Nginx Listening Port | ` 80 ` | |
144+ | ` UI_CONTROLLER_URL ` | How can the UI access the controller | ` http://127.0.0.1:${CONTROLLER_LISTEN_PORT} ` | |
145+ | ` UI_DB_HOST ` | DB Host for Postgresql | | x |
146+ | ` UI_DB_NAME ` | DB Name for UI | | x |
147+ | ` UI_DB_PASS ` | Password for UI_DB_USER | | x |
148+ | ` UI_DB_PORT ` | DB Port for Postgresql | ` 5432 ` | x |
149+ | ` UI_DB_USER ` | DB User for UI_DB_NAME | | x |
150+ | ` UI_HOSTNAME ` | (nginx) Internal hostname to access UI for proxy purposes | ` (container_hostname) ` | x |
151+ | ` UI_LISTEN_PORT ` | What port for the UI to listen on | ` 3000 ` | |
152+ | ` UI_LOG_FILE ` | UI Log File | ` ztnet.log ` | |
153+ | ` UI_LOG_PATH ` | Where to store logs | ` /logs/ui/ ` | |
154+ | ` UI_PROTOCOL ` | (nginx) Protocol to use for proxy | ` http ` | x |
155+ | ` UI_SECRET ` | Random secret for session and cookie storage | ` random ` | x |
156+ | ` UI_SITE_NAME ` | Site name to display on UI | ` ZTNET ` | |
157+ | ` UI_USER ` | Run UI as this user | ` zerotier ` | |
152158
153159#### DNS Options
154160
0 commit comments