Logo

Command Palette

Search for a command to run...

Docker Configuration

Docker

OptionApplied onDescriptionClouds
activeprotectThe parent node for ActiveProtect settings (see whitelist and http_ban_rate below)All
activeprotect / whitelistA comma-separated whitelist of IPs that should be ignored by your ActiveProtect configuration. Must be nested under activeprotect.All
activeprotect / http_ban_rateSet the threshold of requests per minute from a single IP address. The default is 2000. Must be nested under activeprotect.All
docker_versionSpecify the version of Docker you want to install.All
firewall / create_web_rulesCloud 66 automatically creates firewall rules to expose your web application to the outside world. You can configure this via your Traffic settings, or disable it completely by setting this value to false. Default is true.All
iam_instance_profile_nameThe name of the IAM instance profile that should be used when provisioning this server. Read our guide.AWS
image_keep_countSet the number of old images to save on your servers (besides the running image). Defaults to 2.All
instance_service_account_nameThe name of the GCE Service Account that should be used when provisioning this server.GCE
nameserversSet DNS servers for your application. Note that if you specify empty array i.e [ ], it won't add any nameserver to your servers. Default is an empty array: [ ]All
network / modeSpecifies whether your servers should communicate over private or public IP addresses. Defaults to private if your servers are either all cloud or all Registered. If your application uses a mix of cloud and Registered servers, the default will be public.All
network / container_ip_rangeThe internal ip range of the pods in your application. Default is 25.0.0.0/16.All
operating_systemThe version of Ubuntu to install on the server that hosts your app. Accepted values: ubuntu2204orubuntu2404All
root_disk_sizeDefault size of root disk (in GB) for servers used by application. Default value is 50.AWS, Azure, GCE
root_disk_typeDisk type, accepted values being ssd and magnetic. Default is ssd.AWS, GCE
subnet_idID or name of the AWS subnet in which you would like to create your servers. If not supplied, we will attempt to identify the single map_public_ip_on_launch set to trueAWS
tagsAppend the listed tags to any servers created for this component. See our tagging guide for more info on tag syntax and support.AWS, Azure, DigitalOcean, Hetzner
vn_nameThe name of the Virtual Network in which you would like to create your servers.Azure
vpc_idID or name of the VPC in which you would like to create your servers.AWS, Azure, DigitalOcean, Hetzner
weave_version (Container Service V1 only)Specify the version of Weave you want to install. Container Service V1 only.All

Example YAML for Docker

docker:
  configuration:
    iam_instance_profile_name: docker-perms
    docker_version: 1.7.0
    weave_version: 1.0.3
    vpc_id: vpc-64872001
    root_disk_size: 100
    root_disk_type: ssd
    image_keep_count: 5
    nameservers: ['8.8.8.8', '8.8.4.4']
docker:
  configuration:
    docker_version: 1.12.0
    weave_version: 1.0.3
    vn_name: your_vn_name
    root_disk_size: 100
    root_disk_type: ssd
    image_keep_count: 15

Customizing Nginx for containerized apps

Nginx uses the docker node in manifest.yml. See Nginx configuration for details.