Skip to main content

Overview

Server settings allow you to configure core Dokploy server behavior, including domain configuration, SSL/TLS certificates, automated cleanup tasks, and monitoring options.

Domain Configuration

Assign a domain to your Dokploy server and configure SSL/TLS certificates.
string
The domain name for your Dokploy server
boolean
default:"false"
Enable HTTPS for the server
enum
default:"none"
SSL certificate type to use
  • none - No SSL certificate
  • letsencrypt - Automatic Let’s Encrypt certificate
  • custom - Custom SSL certificate
string
Email address for Let’s Encrypt certificate notifications (required when using Let’s Encrypt)

Server IP Configuration

string
Public IP address of your server. Used for DNS configuration and service access.

SSH Configuration

string
SSH private key for remote server access. Used for deploying to remote servers and executing commands.
Keep your SSH private key secure. It grants access to remote servers.

Docker Cleanup

Automate Docker resource cleanup to prevent disk space issues.
boolean
default:"true"
Enable automated Docker cleanup tasksWhen enabled, Dokploy will periodically clean up:
  • Unused Docker images
  • Stopped containers
  • Unused volumes
  • Build cache
  • Dangling images

Cleanup Schedule

Docker cleanup runs on a cron schedule: 0 0 * * * (daily at midnight) The cleanup process:
  1. Removes unused Docker images
  2. Removes stopped containers
  3. Removes unused volumes
  4. Prunes build cache
  5. Sends notifications (if configured)

Manual Cleanup

You can also trigger cleanup operations manually through the API:

Log Cleanup

string
default:"0 0 * * *"
Cron expression for automated log cleanup. Default runs daily at midnight.

Build Cache Cleanup

Configure automatic cache cleanup for different deployment types:
boolean
default:"false"
Clean build cache for application deploymentsWhen enabled, build cache is cleared after each application deployment.
boolean
default:"false"
Clean build cache for preview deploymentsWhen enabled, build cache is cleared after each preview deployment.
boolean
default:"false"
Clean build cache for Docker Compose deploymentsWhen enabled, build cache is cleared after each compose deployment.

Metrics Configuration

Configure server and container monitoring settings.

Server Metrics

enum
default:"Dokploy"
Metrics collection type
  • Dokploy - Built-in metrics collection
  • Remote - Remote metrics server
number
default:"60"
Metrics refresh rate in seconds. Minimum value: 2 seconds.
number
default:"4500"
Port for metrics server
number
default:"2"
Number of days to retain metrics data
number
default:"0"
CPU usage threshold for alerts (percentage). Set to 0 to disable.
number
default:"0"
Memory usage threshold for alerts (percentage). Set to 0 to disable.

Container Metrics

number
default:"60"
Container metrics refresh rate in seconds. Minimum value: 2 seconds.
array
List of container names to include in metrics collection
array
List of container names to exclude from metrics collection

Traefik Configuration

Dokploy uses Traefik as its reverse proxy and load balancer.

Dashboard

Enable the Traefik dashboard for monitoring and debugging:
Port 8080 must be available on your server. The system will check for conflicts before enabling the dashboard.

Environment Variables

Traefik can be configured using environment variables. Access them via:

Custom Ports

Configure additional ports for Traefik:
number
The port inside the container
number
The port exposed on the host
enum
Network protocol
  • tcp - Transmission Control Protocol
  • udp - User Datagram Protocol
  • sctp - Stream Control Transmission Protocol

Access Logs

Enable request logging for debugging and monitoring:
When enabled, Traefik logs all HTTP requests with:
  • Request method and path
  • Response status code
  • Client IP address
  • Request duration
  • Timestamp

GPU Support

Configure GPU support for applications that require GPU acceleration:
GPU status includes:
  • Driver installation status
  • GPU model information
  • CUDA support and version
  • Available memory
  • Number of GPUs
  • Docker runtime configuration

Environment Variables

Core Dokploy environment variables:
string
required
PostgreSQL database connection string
number
default:"3000"
Port for the Dokploy server
string
default:"production"
Node.js environment mode
  • development - Development mode with hot reload
  • production - Production mode with optimizations
string
Comma-separated list of Dokploy Cloud IP addresses (Cloud version only)

Server Management

Reload Server

Restart the Dokploy server:

Reload Traefik

Restart the Traefik proxy:

Reload Redis

Restart the Redis cache:

Clean Redis

Flush all Redis data:
This will remove all cached data and queued jobs.

Updates

Check for Updates

Response:

Update Server

The update process:
  1. Downloads the latest version
  2. Creates a backup
  3. Updates the Docker service
  4. Restarts Dokploy
The server will be unavailable for a few minutes during the update.

Health Check

Verify server health:
Response:

Version Information