Last active
September 5, 2016 15:08
-
-
Save willywos/9e3f131330b2589eb2320843d67ebc92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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