mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-02-04 20:49:31 +08:00
Dashboard Docker mod for SWAG
This mod adds a dashboard to SWAG powered by Goaccess.
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:
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 or Swag DBIP mod are required to enable the geo location graph.
Example
Languages
Text
100%
