mirror of
https://github.com/offen/website.git
synced 2024-12-23 05:20:21 +01:00
52 lines
1002 B
Plaintext
52 lines
1002 B
Plaintext
{
|
|
"AWSEBDockerrunVersion": 2,
|
|
"volumes": [
|
|
{
|
|
"name": "log-socket",
|
|
"host": {
|
|
"sourcePath": "/var/run/docker.sock"
|
|
}
|
|
}
|
|
],
|
|
"containerDefinitions": [
|
|
{
|
|
"name": "proxy",
|
|
"image": "offen/proxy:stable",
|
|
"essential": true,
|
|
"memory": 128,
|
|
"portMappings": [
|
|
{
|
|
"hostPort": 80,
|
|
"containerPort": 80
|
|
}
|
|
],
|
|
"dependsOn": [
|
|
{
|
|
"containerName": "server",
|
|
"condition": "START"
|
|
}
|
|
],
|
|
"links": ["server"]
|
|
},
|
|
{
|
|
"name": "server",
|
|
"image": "offen/offen:stable",
|
|
"essential": true,
|
|
"memory": 256
|
|
},
|
|
{
|
|
"name": "logspout",
|
|
"image": "gliderlabs/logspout:latest",
|
|
"essential": true,
|
|
"memory": 64,
|
|
"command": ["syslog+tls://$LOG_TARGET"],
|
|
"mountPoints": [
|
|
{
|
|
"sourceVolume": "log-socket",
|
|
"containerPath": "/var/run/docker.sock"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|