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

54 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-09-14 14:30:00 +02:00
{
"AWSEBDockerrunVersion": 2,
"volumes": [],
"containerDefinitions": [
{
"name": "proxy",
"image": "offen/website:latest",
2019-09-14 14:30:00 +02:00
"essential": true,
"memory": 128,
"portMappings": [
{
"hostPort": 80,
"containerPort": 80
}
],
"dependsOn": [
{
"containerName": "server",
"condition": "START"
}
],
"links": ["server"],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
2019-11-04 23:01:00 +01:00
"awslogs-create-group": true,
2019-11-04 23:08:44 +01:00
"awslogs-group": "staging",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "proxy"
}
}
2019-09-14 14:30:00 +02:00
},
{
"name": "server",
"image": "offen/offen@sha256:4c0d2d5db9bc749d21ad8659008658bf25318074b7c813b0a694e64816df750d",
2019-09-14 14:30:00 +02:00
"essential": true,
2019-10-10 09:40:39 +02:00
"memory": 256,
"command": ["serve"],
"environment": [
2019-10-25 16:00:41 +02:00
{ "name": "OFFEN_SERVER_REVERSEPROXY", "value": "1" }
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
2019-11-04 23:01:00 +01:00
"awslogs-create-group": true,
2019-11-04 23:08:44 +01:00
"awslogs-group": "staging",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "server"
}
}
2019-09-14 14:30:00 +02:00
}
]
}