p5.js-web-editor/server/Dockerrun.aws.json
2018-06-25 16:13:31 -07:00

73 lines
No EOL
1.3 KiB
JSON

{
"AWSEBDockerrunVersion": 2,
"authentication": {
"bucket": "",
"key": ".dockercfg"
},
"volumes": [
{
"name": "storage",
"host": {
"sourcePath": "/var/data"
}
},
{
"name": "app",
"host": {
"sourcePath": "/var/app/current/app"
}
}
],
"containerDefinitions": [
{
"name": "mongo",
"image": "mongo:3.4",
"essential": true,
"memory": 512,
"portMappings": [
{
"hostPort": 27017,
"containerPort": 27017
}
],
"mountPoints": [
{
"sourceVolume": "storage",
"containerPath": "/var/lib/mysql"
}
],
"environment": [
{
"name": "MYSQL_ROOT_PASSWORD",
"value": "password"
},
{
"name": "MYSQL_DATABASE",
"value": "my_db"
}
]
},
{
"name": "app",
"image": ":",
"essential": true,
"memory": 256,
"portMappings": [
{
"hostPort": 80,
"containerPort": 80
}
],
"links": [
"db"
],
"mountPoints": [
{
"sourceVolume": "app",
"containerPath": "/var/www/html",
"readOnly": true
}
]
}
]
}