How to install and upgrade DashboardFox using Docker
Version: DashboardFox v12 or higher Role: You must have root privileges or be a root-equivalent user to perform this installation. System Requirements:Any system capable of running Docker (Linux, Windows, macOS) Prerequisites:- Docker and Docker Compose installed- Minimum 8GB RAM recommended- At least 30GB free disk space- Internet connectivity for initial setup
Overview
In this article, we will provide the steps to install and upgrade DashboardFox using Docker containers on supported versions of Linux. The Docker deployment includes an embedded PostgreSQL database, DashboardFox application services, and an Nginx reverse proxy. This containerized approach provides easier deployment, isolation, and simplified upgrade procedures.
After the installation, we will guide you through activating the trial license of DashboardFox and managing upgrades to newer versions.
Getting Started
To start, SSH to your Linux server as root or a root-level user.
ssh root@your-server-ip
Follow the steps below to complete the installation.
Prerequisites: Install Docker and Docker Compose
If Docker is not already installed on your system, install it first:
For Ubuntu/Debian:
# Update package indexsudo apt update # Install Dockersudo apt install -y docker.io docker-compose-plugin # Start and enable Dockersudo systemctl start dockersudo systemctl enable docker # Verify installationsudo docker --versionsudo docker compose version
For RHEL/Rocky/CentOS/Fedora:
# Install Dockersudo dnf install -y docker docker-compose-plugin # Start and enable Dockersudo systemctl start dockersudo systemctl enable docker # Verify installationsudo docker --versionsudo docker compose version
Fresh Installation
Step 1: Download and Extract DashboardFox
Download the DashboardFox installation package:
# Navigate to your desired installation directorycd /opt # Download the installation packagewget https://f002.backblazeb2.com/file/5000fish/dashboardfox/docker/dashboardfox-install.tar.gz # Extract the packagetar -xzf dashboardfox-install.tar.gz # Navigate to the installation directorycd dashboardfox
Step 2: Run the Installation
Execute the installation script:
sudo ./install.sh
The installation script will:
- Load Docker images for all DashboardFox services
- Start PostgreSQL database, DashboardFox application, and Nginx proxy
- Configure networking and volumes
Step 3: Monitor Installation Progress
You can monitor the installation progress by checking the container status:
# Check if all services are runningsudo docker ps # View logs for troubleshooting if neededsudo docker compose logs
Step 4: Verify Installation
Upon completion of the installation:
- Open a browser and navigate to:
http://<server-ip>/ - The DashboardFox login screen should appear
- Login with the default credentials:
- user: admin
- password: dashboardfox
You should see a yellow alert bar indicating that you must activate DashboardFox. Follow the instructions to proceed with the activation process.
Step 5: Service Management
After installation, you can manage DashboardFox services using these commands:
# Stop all servicessudo docker compose down # Start all servicessudo docker compose up -d # View service statussudo docker compose ps # View logssudo docker compose logs
Upgrading DashboardFox
Prerequisites for Upgrade
- Existing DashboardFox Docker installation
- Access to your DashboardFox installation directory
- Sufficient disk space for new images
Step 1: Navigate to Installation Directory
# Navigate to your existing DashboardFox installationcd /path/to/your/dashboardfox
Step 2: Download and Extract Upgrade Package
# Download the upgrade packagewget https://f002.backblazeb2.com/file/5000fish/dashboardfox/docker/dashboardfox-upgrade.tar.gz # Extract upgrade files into current directorytar -xzf dashboardfox-upgrade.tar.gz
Step 3: Run the Upgrade
Execute the upgrade script:
sudo ./upgrade.sh
The upgrade script will:
- Stop current services gracefully
- Remove old application images to free space
- Load new application images
- Start services with updated versions
- Preserve your data and configuration
Step 4: Verify Upgrade
After the upgrade completes:
- Check that services are running:
sudo docker compose ps - Verify web interface: Navigate to
http://<server-ip>/ - Confirm your data is intact: Login and verify your reports and users
Step 5: Cleanup (Optional)
Remove the upgrade package to free disk space:
rm dashboardfox-upgrade.tar.gz
Running Multiple Instances
You can run multiple DashboardFox instances on the same server:
Step 1: Copy Installation Directory
# Copy your existing installationcp -r dashboardfox dashboardfox2cd dashboardfox2
Step 2: Modify Configuration
Edit docker-compose.yml to change:
- Ports: Change
80:80to8080:80and5000:5000to5001:5000 - Container names: Add suffix like
dashboardfox2-app,dashboardfox2-postgres - Volume names: Add suffix like
dashboardfox2-config,dashboardfox2-logs
Step 3: Start Second Instance
sudo ./install.sh
Access the second instance at: http://<server-ip>:8080/
Troubleshooting
Common Issues
Port conflicts:
# Check what's using ports 80 or 5000sudo netstat -tlnp | grep :80sudo netstat -tlnp | grep :5000
Services not starting:
# Check service logssudo docker compose logs # Check individual servicesudo docker compose logs dashboardfox
Disk space issues:
# Clean up unused Docker imagessudo docker system prune -a # Check disk usagedf -h
Installation fails with "already running" error:
# Stop existing deployment firstsudo docker compose down # Then retry installationsudo ./install.sh
Useful Commands
# View all containerssudo docker ps -a # Restart specific servicesudo docker compose restart dashboardfox # View real-time logssudo docker compose logs -f # Check Docker system usagesudo docker system df
Getting Help
If you encounter issues during installation or upgrade:
- Check the logs:
sudo docker compose logs - Verify system requirements are met
- Ensure sufficient disk space is available
- Contact support: support@dashboardfox.com with log files and system information
Security Considerations
Default Configuration
- Default web port: 80 (HTTP)
- Default API port: 5000
- Default credentials: admin/dashboardfox (change immediately)
Recommended Security Steps
- Change default passwords immediately after installation
- Configure HTTPS/SSL for production environments
- Restrict network access using firewall rules
- Regular backups of DashboardFox data volumes
- Keep Docker and system updated
Data Persistence
Your DashboardFox data is stored in Docker volumes:
pgdata- PostgreSQL databasedashboardfox-config- Application configurationdashboardfox-logs- Application logs
These volumes persist across container updates and restarts.