Skip to content

Instantly share code, notes, and snippets.

@coffeverton
Created August 6, 2019 11:38
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 coffeverton/87e0f4ac19c85ebe1656da90fd21fadc to your computer and use it in GitHub Desktop.
Save coffeverton/87e0f4ac19c85ebe1656da90fd21fadc to your computer and use it in GitHub Desktop.
{
"AWSEBDockerrunVersion":2,
"containerDefinitions": [
{
"essential": true,
"memoryReservation": 64,
"image": "phpdockerio/php73-fpm",
"mountPoints": [
{
"containerPath": "/application",
"sourceVolume": "_application"
},
{
"containerPath": "/etc/php/7.3/fpm/conf.d/99-overrides.ini",
"sourceVolume": "_PhpdockerPhp-FpmPhp-Ini-Overrides_Ini"
}
],
"name": "php-fpm"
},
{
"essential": true,
"memoryReservation": 64,
"image": "nginx:alpine",
"mountPoints": [
{
"containerPath": "/application",
"sourceVolume": "_application"
},
{
"containerPath": "/etc/nginx/conf.d/default.conf",
"sourceVolume": "_PhpdockerNginxNginx_Conf"
}
],
"name": "webserver",
"portMappings": [
{
"containerPort": 80,
"hostPort": 80
}
],
"links": [
"php-fpm"
]
}
],
"family": "",
"volumes": [
{
"host": {
"sourcePath": "."
},
"name": "_application"
},
{
"host": {
"sourcePath": "./phpdocker/nginx/nginx.conf"
},
"name": "_PhpdockerNginxNginx_Conf"
},
{
"host": {
"sourcePath": "./phpdocker/php-fpm/php-ini-overrides.ini"
},
"name": "_PhpdockerPhp-FpmPhp-Ini-Overrides_Ini"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment