2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 13:30:20 +01:00
website/Dockerrun.aws.json.production

56 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-09-09 20:01:22 +02:00
{
"AWSEBDockerrunVersion": 2,
"volumes": [
{
"name": "log-socket",
"host": {
"sourcePath": "/var/run/docker.sock"
}
}
],
2019-09-09 20:01:22 +02:00
"containerDefinitions": [
{
"name": "proxy",
"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",
"image": "offen/offen@sha256:4c0d2d5db9bc749d21ad8659008658bf25318074b7c813b0a694e64816df750d",
2019-09-09 20:01:22 +02:00
"essential": true,
2019-10-10 09:40:39 +02:00
"memory": 256,
"command": ["serve"],
"environment": [
{ name: "OFFEN_SERVER_REVERSEPROXY", "value": "1" }
]
},
{
"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
}
]
}