Created
April 13, 2017 22:21
-
-
Save madgoat/7ad911cc03738fb7473e8d1b529819f9 to your computer and use it in GitHub Desktop.
Sample AWS Task Description
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
{ | |
"networkMode": "bridge", | |
"containerDefinitions": [ | |
{ | |
"image": "wp-dev/wp-dev:latest", | |
"cpu": 10, | |
"memory": 300, | |
"portMappings": [ | |
{ | |
"hostPort": 80, | |
"containerPort": 80 | |
} | |
], | |
"environment": [ | |
{ | |
"name": "WORDPRESS_DB_USER", | |
"value": "wordpress" | |
}, | |
{ | |
"name": "MYSQL_PORT_3306_TCP", | |
"value": "tcp://wordpress.cfd6yvq6y7mw.us-east-1.rds.amazonaws.com:3306:3306" | |
}, | |
{ | |
"name": "WORDPRESS_DB_NAME", | |
"value": "wordpress" | |
}, | |
{ | |
"name": "WORDPRESS_DB_PASSWORD", | |
"value": "wordpress" | |
}, | |
{ | |
"name": "WORDPRESS_DB_HOST", | |
"value": "wordpress.cfd6yvq6y7mw.us-east-1.rds.amazonaws.com" | |
} | |
], | |
"essential": false, | |
"entrypoint": "/entrypoint.sh", | |
"mountPoints": [ | |
{ | |
"sourceVolume": "wpvol", | |
"containerPath": "/var/www/html", | |
"readOnly": false | |
} | |
], | |
"memory": 256, | |
"name": "wordpress", | |
"cpu": 128, | |
"image": "wordpress" | |
} | |
], | |
"volumes": [ | |
{ | |
"name": "wpvol", | |
"host": { | |
"sourcePath": "/mnt/efs/www/html" | |
} | |
} | |
], | |
"family": "wordpress" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment