Actions125
- Project Actions
- App Actions
- Backup Actions
- Server Actions
- Support Actions
- Contributor Actions
- Organisation Actions
- Domain Actions
- Database Actions
- Contract Actions
- Mail Actions
- Container Actions
- AI Hosting Actions
- Cronjob Actions
Container → Create Service
AI-generatedSummary
Create a new container service within a specified project on the Mittwald platform, configuring its image, name, optional command, entrypoint, ports, volumes, environment variables, and description.
Inputs
- project (required) — The project in which to create the container service, selectable from a list or by entering a UUID or short ID.
- serviceName (required) — The name of the new service to create, up to 63 characters.
- image (required) — The container image to use for the service.
- command — Optional comma-separated Docker command values to override the default command.
- entrypoint — Optional comma-separated Docker entrypoint values to override the default entrypoint.
- ports — Optional comma-separated port mappings in the format 'hostPort:containerPort/protocol', e.g., '8080:80/tcp'.
- volumes — Optional comma-separated volume mounts, e.g., 'data:/var/www'.
- environment — Optional collection of environment variable name/value pairs to set in the container.
- description (required) — A textual description for the service.
Output shape
a single JSON object representing the created service details as returned by the Mittwald API
The returned object contains the created service metadata and configuration details according to the Mittwald API response. Errors during creation will result in node execution failure.
Examples
Example 1: Create a web service container in a project
Specify the project by list or ID, provide the service name, image name (e.g., 'nginx:latest'), optional command and entrypoint overrides, exposed ports like '8080:80/tcp', mounted volumes, environment variables, and a description of the service.