Skip to content

Instantly share code, notes, and snippets.

@Thakurvaibhav
Created November 6, 2018 07:30
Show Gist options
  • Save Thakurvaibhav/f135ebf11887b77c7b8be70ccba8409e to your computer and use it in GitHub Desktop.
Save Thakurvaibhav/f135ebf11887b77c7b8be70ccba8409e to your computer and use it in GitHub Desktop.
{
"containerDefinitions": [
{
"memory": 600,
"portMappings": [
{
"hostPort": 0,
"containerPort": 3000,
"protocol": "tcp"
},
{
"hostPort": 0,
"containerPort": 22,
"protocol": "tcp"
},
{
"hostPort": 0,
"containerPort": 6379,
"protocol": "tcp"
}
],
"environment": [
{
"name": "NODE_ENV",
"value": "N_ENV"
}
],
"essential": true,
"name": "<container-name>",
"image": "<your-docker-registry>/REPO:TAG",
"cpu": 512,
"memoryReservation": 300
}
],
"family": "<service-name>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment