Docker Configuration
Docker
Option | Applied on | Description | Clouds |
---|---|---|---|
activeprotect | The parent node for ActiveProtect settings (see whitelist and http_ban_rate below) | All | |
activeprotect / whitelist | A comma-separated whitelist of IPs that should be ignored by your ActiveProtect configuration. Must be nested under activeprotect . | All | |
activeprotect / http_ban_rate | Set the threshold of requests per minute from a single IP address. The default is 2000 . Must be nested under activeprotect . | All | |
docker_version | Specify the version of Docker you want to install. | All | |
firewall / create_web_rules | Cloud 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_name | The name of the IAM instance profile that should be used when provisioning this server. Read our guide. | AWS | |
image_keep_count | Set the number of old images to save on your servers (besides the running image). Defaults to 2 . | All | |
instance_service_account_name | The name of the GCE Service Account that should be used when provisioning this server. | GCE | |
nameservers | Set 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 / mode | Specifies 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_range | The internal ip range of the pods in your application. Default is 25.0.0.0/16 . | All | |
operating_system | The version of Ubuntu to install on the server that hosts your app. Accepted values: ubuntu2204 | All | |
root_disk_size | Default size of root disk (in GB) for servers used by application. Default value is 50. | AWS, Azure, GCE | |
root_disk_type | Disk type, accepted values being ssd and magnetic . Default is ssd . | AWS, GCE | |
subnet_id | ID 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 true | AWS | |
tags | Append 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_name | The name of the Virtual Network in which you would like to create your servers. | Azure | |
vpc_id | ID 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 |
AWS VPC requires subnet_id
In order to use an AWS vpc_id, you must provide subnet_id for all servers used by your application.
Example YAML for Docker
Customizing Nginx for containerized apps
Nginx uses the docker
node in manifest.yml
. See Nginx configuration for details.