ssh_docker_deploy
Deploy Docker containers via SSH by specifying a working directory, deployment type, and optional configurations like ports, volumes, and environment variables. Supports Docker Compose, build, or run commands for remote server setups.
Instructions
Deploy Docker containers with working directory context
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buildArgs | No | Build arguments for Docker build | |
composeFile | No | Docker compose file name | docker-compose.yml |
connectionId | Yes | SSH connection ID | |
containerName | No | Container name (for run) | |
deploymentType | Yes | Type of Docker deployment | |
detached | No | Run in detached mode | |
envVars | No | Environment variables | |
imageName | No | Docker image name (for build/run) | |
ports | No | Port mappings (e.g., ["8080:80", "3000:3000"]) | |
volumes | No | Volume mappings (e.g., ["/host/path:/container/path"]) | |
workingDirectory | Yes | Directory containing docker-compose.yml or Dockerfile |