Skip to content

Instantly share code, notes, and snippets.

@Thakurvaibhav
Created November 6, 2018 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Thakurvaibhav/dd6e709453123add87dfdbbd511339f5 to your computer and use it in GitHub Desktop.
Save Thakurvaibhav/dd6e709453123add87dfdbbd511339f5 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