Skip to main content

Get Web Server Settings

Retrieve current web server configuration and settings.

GET /settings.getWebServerSettings

This endpoint is disabled on Dokploy Cloud instances.

Authentication

Requires user authentication.

Example Request

Example Response


Assign Domain to Server

Configure the main domain and SSL settings for the Dokploy instance.

POST /settings.assignDomainServer

Admin privileges required. Disabled on Dokploy Cloud.
string
required
Domain name for the Dokploy instance
string
Email address for Let’s Encrypt SSL certificates
string
required
Type of SSL certificateAllowed values:
  • letsencrypt
  • custom
  • none
boolean
required
Enable HTTPS for the server

Example Request


Traefik Management

Reload Traefik

POST /settings.reloadTraefik

Restart the Traefik proxy service.
string
Optional server ID for remote Traefik instances

Toggle Traefik Dashboard

POST /settings.toggleDashboard

Enable or disable the Traefik dashboard on port 8080.
boolean
required
Set to true to enable dashboard, false to disable
string
Optional server ID for remote instances

Read Traefik Configuration

GET /settings.readTraefikConfig

Retrieve the main Traefik configuration file.

Update Traefik Configuration

POST /settings.updateTraefikConfig

string
required
Updated Traefik configuration in YAML format

Docker Cleanup

Manage automated Docker cleanup operations.

Clean Operations

Perform various Docker cleanup tasks:

Clean Unused Images

Clean Unused Volumes

Clean Stopped Containers

Clean Docker Builder Cache

Clean All (System Prune)

Configure Automatic Cleanup

POST /settings.updateDockerCleanup

Enable or disable scheduled Docker cleanup.
boolean
required
Enable automatic cleanup
string
Optional server ID for remote cleanup

SSH Key Management

Save SSH Private Key

POST /settings.saveSSHPrivateKey

string
required
SSH private key content in PEM format

Remove SSH Private Key

POST /settings.cleanSSHPrivateKey


Server Management

Reload Dokploy Server

POST /settings.reloadServer

Restart the Dokploy server container.

Update Server

POST /settings.updateServer

Update Dokploy to the latest version.

Get Update Information

POST /settings.getUpdateData

Check for available updates.

Example Response


Redis Management

Clean Redis

POST /settings.cleanRedis

Flush all Redis cache data.

Reload Redis

POST /settings.reloadRedis

Restart the Redis container.

Monitoring Configuration

Clean Monitoring Data

POST /settings.cleanMonitoring

Delete all collected monitoring data.

GPU Support

Setup GPU

POST /settings.setupGPU

Configure NVIDIA GPU support for Docker containers.
string
Server ID (required on Dokploy Cloud)

Check GPU Status

GET /settings.checkGPUStatus

string
Server ID (required on Dokploy Cloud)

Example Response


System Information

Get Dokploy Version

GET /settings.getDokployVersion

Get Server IP

GET /settings.getIp

Retrieve the configured server IP address.

Update Server IP

POST /settings.updateServerIp

string
required
New server IP address

Health Check

GET /settings.health

Check the health status of the Dokploy instance and database connection.
This endpoint does not require authentication.

Example Response