Dashy role
Deploy Dashy, a highly customizable dashboard application for organizing web services, bookmarks, and widgets.
Usage
The role automatically generates the conf.yml configuration file from Ansible variables.
Basic Configuration
Configure Dashy settings in your inventory:
1 2 3 4 5 6 7 8 9 10 | |
Application Config & Authentication
The application configuration is defined in dashy_app_config.
Note: For authentication, the admin password hash is handled separately via dashy_admin_hash to ensure correct handling of Ansible Vault encrypted strings.
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Dashboard Sections
Define your dashboard items in dashy_sections:
1 2 3 4 5 6 7 8 | |
Include the role in your playbook:
1 2 3 4 | |
The role provides these tags:
- dashy-install - Deploy Dashy container
- dashy-uninstall - Remove Dashy container
Docs
Deploy Dashy to your Docker host:
1 | |
Remove Dashy installation:
1 | |
Configuration Details
The role deploys Dashy with:
- Official Image: lissy93/dashy (from Docker Hub)
- Traefik Integration: Automatic HTTPS via Traefik reverse proxy
- Custom Configuration: Mount your conf.yml from host
- Network: Connects to external proxy network
- Restart Policy: unless-stopped
Accessing Dashy
After deployment, Dashy is available at:
- URL: https://dashy.rwcloud.ch
- Port: 8080 (internal, accessed via Traefik)
Configuration File
The role copies your configuration file from the role's files/ directory to the host at /docker/dashy/conf.yml, then mounts it into the container.
Example conf.yml:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
See Dashy documentation for full configuration options.
Features
Dashy provides: - Customizable sections and item layouts - Icon support (Font Awesome, favicon, custom) - Built-in status checking - Search functionality - Keyboard shortcuts - Multiple themes (light, dark, custom) - Widget support (weather, RSS, system stats, etc.) - Multi-page support - Authentication options - Backup and restore - Material Design interface
Customization
Edit /docker/dashy/conf.yml on the host and restart the container:
1 | |
Or update via Dashy's web UI (requires authentication to be enabled).
Authentication
To enable authentication, add to your conf.yml:
1 2 3 4 5 | |
Generate bcrypt hash:
1 | |
