Skip to main content
Glama

create_dockerfile_application

Deploy applications from Dockerfile content in Coolify by specifying project, environment, server, and ports to create and optionally deploy containerized applications.

Instructions

Create a new application from a Dockerfile

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_uuidYesProject UUID
environment_nameYesEnvironment name
environment_uuidNoEnvironment UUID (optional)
server_uuidYesServer UUID
destination_uuidNoDestination UUID (optional if server has single destination)
dockerfileYesDockerfile content (base64 encoded)
ports_exposesYesPorts to expose (e.g., "3000,8080")
nameNoApplication name (optional, auto-generated if not provided)
descriptionNoApplication description
instant_deployNoDeploy immediately after creation

Implementation Reference

  • Handler implementation for 'create_dockerfile_application' tool. Validates required input parameters and sends a POST request to the Coolify API endpoint '/applications/dockerfile' to create the application.
    case 'create_dockerfile_application':
      requireParam(args, 'project_uuid');
      requireParam(args, 'environment_name');
      requireParam(args, 'server_uuid');
      requireParam(args, 'dockerfile');
      requireParam(args, 'ports_exposes');
      return client.post('/applications/dockerfile', args);
  • Input schema definition and metadata for the 'create_dockerfile_application' tool, including all properties, descriptions, and required fields.
    {
      name: 'create_dockerfile_application',
      description: 'Create a new application from a Dockerfile',
      inputSchema: {
        type: 'object',
        properties: {
          project_uuid: { type: 'string', description: 'Project UUID' },
          environment_name: { type: 'string', description: 'Environment name' },
          environment_uuid: { type: 'string', description: 'Environment UUID (optional)' },
          server_uuid: { type: 'string', description: 'Server UUID' },
          destination_uuid: { type: 'string', description: 'Destination UUID (optional if server has single destination)' },
          dockerfile: { type: 'string', description: 'Dockerfile content (base64 encoded)' },
          ports_exposes: { type: 'string', description: 'Ports to expose (e.g., "3000,8080")' },
          name: { type: 'string', description: 'Application name (optional, auto-generated if not provided)' },
          description: { type: 'string', description: 'Application description' },
          instant_deploy: { type: 'boolean', description: 'Deploy immediately after creation', default: false }
        },
        required: ['project_uuid', 'environment_name', 'server_uuid', 'dockerfile', 'ports_exposes']
      }
    },
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kof70/coolify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server