Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenasm authored Sep 23, 2024
1 parent c5b07db commit fbe9261
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ List of environment variables for more customization:
| PORT | 8080 | HTTP / HTTPS port. |
| PATH_PREFIX | /prefix_path | All HTTP and WebSocket connections will use this path as a prefix. |
| TZ | Asia/Tehran | Set the timezone for the time reported in the dashboard. |
| SHOW_TASK_TIMESTAMP | false | true by default. |
| ENABLE_AUTHENTICATION | true | false by default. |
| SHOW_TASK_TIMESTAMP | false | `true` by default. |
| ENABLE_AUTHENTICATION | true | `false` by default. |
| AUTHENTICATION_REALM | MyRealm | Use this env if ENABLE_AUTHENTICATION is `true`. |
| USERNAME | admin | Use this env if ENABLE_AUTHENTICATION is `true`. |
| PASSWORD | supersecret | Use this env if ENABLE_AUTHENTICATION is `true`. |
| ENABLE_HTTPS | true | false by default |
| ENABLE_HTTPS | true | `false` by default. |
| LEGO_PATH | /lego-files | Use this env if ENABLE_HTTPS is `true`. Lego is used to create the SSL certificates. Create a named volume for this path to avoid the creation of a new certificate on each run. |
| HTTPS_HOSTNAME | swarm-dashboard.example.com | Use this env if ENABLE_HTTPS is `true`. |
| LEGO_NEW_COMMAND_ARGS | --accept-tos --email=[email protected] --domains=swarm-dashboard.example.com --dns cloudflare run | Use this env if ENABLE_HTTPS is `true`. |
Expand All @@ -98,7 +98,7 @@ List of environment variables for more customization:
| CADVISOR_SERVICE_NAME_REGEX | cadvisor | Use this env to enable `cadvisor` integration. |
| CADVISOR_PORT | 8080 | |
| ENABLE_DATA_API | true | Use this env to export the `/data` API that returns the swarm status as a JSON object. Note that it requires basic-auth if `ENABLE_AUTHENTICATION` is activated. |
| ENABLE_NETWORKS | false | `true` by default, set to "false" to remove the network section from the dashboard. |
| ENABLE_NETWORKS | false | `true` by default, set to `false` to remove the network section from the dashboard. |

## Security

Expand Down

0 comments on commit fbe9261

Please sign in to comment.