2019-09-09 20:01:22 +02:00
|
|
|
{
|
|
|
|
"AWSEBDockerrunVersion": 2,
|
2019-09-16 15:53:16 +02:00
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "log-socket",
|
|
|
|
"host": {
|
|
|
|
"sourcePath": "/var/run/docker.sock"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2019-09-09 20:01:22 +02:00
|
|
|
"containerDefinitions": [
|
|
|
|
{
|
|
|
|
"name": "proxy",
|
2019-10-10 10:00:02 +02:00
|
|
|
"image": "offen/website:stable",
|
2019-09-09 20:01:22 +02:00
|
|
|
"essential": true,
|
|
|
|
"memory": 128,
|
|
|
|
"portMappings": [
|
|
|
|
{
|
|
|
|
"hostPort": 80,
|
|
|
|
"containerPort": 80
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dependsOn": [
|
|
|
|
{
|
|
|
|
"containerName": "server",
|
|
|
|
"condition": "START"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"links": ["server"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "server",
|
2019-10-24 12:32:31 +02:00
|
|
|
"image": "offen/offen@sha256:fe55ba1c183eb8bb4dd19143e6fe1133d6d3b9115c94cc2150620b27adef18fc",
|
2019-09-09 20:01:22 +02:00
|
|
|
"essential": true,
|
2019-10-10 09:40:39 +02:00
|
|
|
"memory": 256,
|
|
|
|
"command": ["serve"]
|
2019-09-16 15:53:16 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "logspout",
|
|
|
|
"image": "gliderlabs/logspout:latest",
|
|
|
|
"essential": true,
|
|
|
|
"memory": 64,
|
|
|
|
"command": ["syslog+tls://$LOG_TARGET"],
|
|
|
|
"mountPoints": [
|
|
|
|
{
|
|
|
|
"sourceVolume": "log-socket",
|
|
|
|
"containerPath": "/var/run/docker.sock"
|
|
|
|
}
|
|
|
|
]
|
2019-09-09 20:01:22 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|