DocsSchema ReferenceDocker Service

Docker Service

Deploy pre-built Docker images like databases, caches, and other infrastructure components

The docker service type deploys pre-built Docker images without building from source. This is ideal for databases, caches, message queues, and other infrastructure components.

Examples

PostgreSQL database (internal only):

Reference from other services:

Fields Reference

Required Fields

FieldTypeDescription
dockerImagestringDocker image name (e.g., postgres, redis)
defaultTagstringImage tag (e.g., 15-alpine, 7-alpine)

Optional Fields

FieldTypeDescription
commandstringOverride container entrypoint
argumentsstringArguments passed to the command. Use %%SPLIT%% for spaces
envobjectEnvironment variables
portsarrayExposed container ports
deploymentobjectDeployment configuration (see below)
envLensbooleanEnable environment lens ingress banner

Deployment Options

The deployment section configures how the service is deployed to Kubernetes. All fields are optional.

See GitHub Service - Deployment Options for detailed documentation of each field.

FieldDescription
publictrue = creates ingress, false = internal only
capacityTypeNode type: spot or on-demand
resourceCPU and memory requests/limits
readinessHealth check using httpGet or tcpSocketPort
hostnamesCustom hostname config (auto-constructed from global_config if omitted)
networkIP whitelist, port mapping, gRPC support
serviceDisksPersistent volume mounts

For databases and caches, you typically want public: false to keep them internal to the cluster.

Common Images

Databases

Caches & Queues