Supported Databases
Dokploy supports the following database systems:- PostgreSQL - Powerful open-source relational database
- MySQL - Popular relational database management system
- MongoDB - NoSQL document database
- Redis - In-memory data structure store
Common Operations
All database services support the following operations:Create
Create a new database instance within an environment.Deploy
Deploy or redeploy a database service with its current configuration.Start/Stop
Control the running state of database containers.Update
Modify database configuration including resource limits, environment variables, and connection settings.Remove
Delete a database instance and its associated resources.External Port
Configure external ports for accessing databases from outside the Docker network.Connection Strings
Each database type has its own connection string format:PostgreSQL
MySQL
MongoDB
Redis
Resource Management
All databases support configuring:- Memory Limits - Maximum memory allocation
- Memory Reservation - Guaranteed memory allocation
- CPU Limits - Maximum CPU usage
- CPU Reservation - Guaranteed CPU allocation
Environment Variables
Each database can have custom environment variables added through thesaveEnvironment endpoint. This is useful for database-specific configuration options.
Docker Images
Dokploy uses official Docker images by default:- PostgreSQL:
postgres:18 - MySQL:
mysql:8 - MongoDB:
mongo:15 - Redis:
redis:8