Core Database Operations
postgres-create
postgres-create
Creates a new PostgreSQL database in Dokploy.Annotations:Example:Response:
- Destructive:
false - Idempotent:
false - External API:
true
The name of the PostgreSQL database.
The app name for the PostgreSQL database.
The name of the database to create.
The username for database access.
The password for database access. Must match pattern:
^[a-zA-Z0-9@#%^&*()_+\-=[\]{}|;:,.<>?~\]*$`The ID of the environment where the database will be created.
Docker image to use for PostgreSQL.
An optional description for the database.
The ID of the server where the database will be deployed.
postgres-one
postgres-one
Gets a specific PostgreSQL database by its ID in Dokploy.Annotations:Example:Response:
- Read-only:
true - Idempotent:
true - External API:
true
The ID of the PostgreSQL database to retrieve.
postgres-update
postgres-update
Updates an existing PostgreSQL database in Dokploy.Annotations:Example:Response:
- Destructive:
true - Idempotent:
false - External API:
true
The ID of the PostgreSQL database to update.
The new name of the PostgreSQL database.
The new app name of the PostgreSQL database.
The new database name.
The new database username.
The new database password.
The new description for the PostgreSQL database.
The new Docker image for PostgreSQL.
Custom command to run the PostgreSQL database.
Environment variables for the PostgreSQL database.
Memory reservation for the PostgreSQL database (e.g., “512m”, “1g”).
Memory limit for the PostgreSQL database (e.g., “1g”, “2g”).
CPU reservation for the PostgreSQL database (e.g., “0.5”, “1”).
CPU limit for the PostgreSQL database (e.g., “1”, “2”).
External port for the PostgreSQL database.
Application status:
idle, running, done, or error.Number of replicas.
postgres-remove
postgres-remove
Removes/deletes a PostgreSQL database from Dokploy.Annotations:Example:
- Destructive:
true
The ID of the PostgreSQL database to remove.
postgres-move
postgres-move
Lifecycle Management
postgres-deploy
postgres-deploy
Deploys a PostgreSQL database in Dokploy.Annotations:Example:Response:
- Destructive:
true - Idempotent:
false - External API:
true
The ID of the PostgreSQL database to deploy.
postgres-start
postgres-start
Starts a PostgreSQL database in Dokploy.Annotations:Example:
- Destructive:
true
The ID of the PostgreSQL database to start.
postgres-stop
postgres-stop
Stops a PostgreSQL database in Dokploy.Annotations:Example:
- Destructive:
true
The ID of the PostgreSQL database to stop.
postgres-reload
postgres-reload
postgres-rebuild
postgres-rebuild
Rebuilds a PostgreSQL database in Dokploy.Annotations:Example:
- Destructive:
true
The ID of the PostgreSQL database to rebuild.
Configuration Management
postgres-changeStatus
postgres-changeStatus
postgres-saveExternalPort
postgres-saveExternalPort
postgres-saveEnvironment
postgres-saveEnvironment
Saves environment variables for a PostgreSQL database in Dokploy.Annotations:Example:Response:
- Destructive:
true - Idempotent:
false - External API:
true
The ID of the PostgreSQL database to save environment for.
Environment variables to save for the PostgreSQL database.