2
0
mirror of https://github.com/offen/website.git synced 2024-11-25 02:10:26 +01:00
website/Dockerrun.aws.json.production

53 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-09-09 20:01:22 +02:00
{
"AWSEBDockerrunVersion": 2,
"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"
}
],
2019-11-04 23:27:17 +01:00
"links": ["server"],
2019-11-04 23:08:44 +01:00
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": true,
"awslogs-group": "production",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "proxy"
2019-11-04 23:08:44 +01:00
}
}
2019-09-09 20:01:22 +02:00
},
{
"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": [
2019-10-25 16:00:41 +02:00
{ "name": "OFFEN_SERVER_REVERSEPROXY", "value": "1" }
2019-11-04 23:08:44 +01:00
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": true,
"awslogs-group": "production",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "server"
2019-11-04 23:08:44 +01:00
}
}
2019-09-09 20:01:22 +02:00
}
]
}