Skip to content

Instantly share code, notes, and snippets.

@willywos
Last active September 5, 2016 15:08
Show Gist options
  • Save willywos/9e3f131330b2589eb2320843d67ebc92 to your computer and use it in GitHub Desktop.
Save willywos/9e3f131330b2589eb2320843d67ebc92 to your computer and use it in GitHub Desktop.
{
"family": "dogservice-api-task-def",
"containerDefinitions": [
{
"image": "dogservice.ecr.us-east-1.amazonaws.com/dogservice-api:%IMAGE_VERSION%",
"name": "dogservice-api-app",
"cpu": 10,
"memory": 300,
"essential": true,
"portMappings": [
{
"containerPort": 1820,
"hostPort": 80,
"protocol": "tcp"
},
{
"containerPort": 1820,
"hostPort": 1820,
"protocol": "tcp"
},
{
"containerPort": 41338,
"hostPort": 41338,
"protocol": "tcp"
}
],
"environment": [
{
"name":"NODE_ENV",
"value":"production"
},
{
"name": "DBHOST",
"value": "22.31.308.120"
},
{
"name": "DBPORT",
"value": "5432"
},
{
"name": "DBDATABASE",
"value": "dogservice-api"
},
{
"name": "DBUSER",
"value": "postgres"
},
{
"name": "DBPASSWORD",
"value": "dogservice"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment