mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-19 06:44:03 -04:00
29 lines
1.1 KiB
Markdown
29 lines
1.1 KiB
Markdown
# Dashboard Docker mod for SWAG
|
|
|
|
This mod adds a dashboard to SWAG powered by [Goaccess](https://goaccess.io/).
|
|
|
|
**Currently only works with a subdomain, not a subfolder.**
|
|
|
|
# Enable
|
|
|
|
In the container's docker arguments, set an environment variable DOCKER_MODS=linuxserver/mods:swag-dashboard
|
|
|
|
If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=linuxserver/mods:swag-dashboard|linuxserver/mods:swag-mod2
|
|
|
|
# Usage
|
|
|
|
Navigate to `dashboard.domain.com` from your LAN to view the dashboard.
|
|
|
|
## Notes
|
|
- The application discovery scans the proxy configs and looks for the following structure in accordance with the samples:
|
|
```yaml
|
|
set $upstream_app <container/address>;
|
|
set $upstream_port <port>;
|
|
set $upstream_proto <protocol>;
|
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
```
|
|
- Either [Swag Maxmind mod](https://github.com/linuxserver/docker-mods/tree/swag-maxmind) or [Swag DBIP mod](https://github.com/linuxserver/docker-mods/tree/swag-dbip) are required to enable the geo location graph.
|
|
|
|
# Example
|
|

|