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 certificateletsencrypt- Automatic Let’s Encrypt certificatecustom- 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.
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:
- Removes unused Docker images
- Removes stopped containers
- Removes unused volumes
- Prunes build cache
- 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 collectionRemote- 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: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 Protocoludp- User Datagram Protocolsctp- Stream Control Transmission Protocol
Access Logs
Enable request logging for debugging and monitoring:- Request method and path
- Response status code
- Client IP address
- Request duration
- Timestamp
GPU Support
Configure GPU support for applications that require GPU acceleration:- 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 reloadproduction- 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:Updates
Check for Updates
Update Server
- Downloads the latest version
- Creates a backup
- Updates the Docker service
- Restarts Dokploy
The server will be unavailable for a few minutes during the update.