mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
add configuration for application level logging to cloudwatch
This commit is contained in:
parent
4247d190c4
commit
5cd7bed741
@ -19,7 +19,15 @@
|
|||||||
"condition": "START"
|
"condition": "START"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": ["server"]
|
"links": ["server"],
|
||||||
|
"logConfiguration": {
|
||||||
|
"logDriver": "awslogs",
|
||||||
|
"options": {
|
||||||
|
"awslogs-group": "proxy",
|
||||||
|
"awslogs-region": "eu-west-1",
|
||||||
|
"awslogs-stream-prefix": "staging"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "server",
|
"name": "server",
|
||||||
@ -29,7 +37,15 @@
|
|||||||
"command": ["serve"],
|
"command": ["serve"],
|
||||||
"environment": [
|
"environment": [
|
||||||
{ "name": "OFFEN_SERVER_REVERSEPROXY", "value": "1" }
|
{ "name": "OFFEN_SERVER_REVERSEPROXY", "value": "1" }
|
||||||
]
|
],
|
||||||
|
"logConfiguration": {
|
||||||
|
"logDriver": "awslogs",
|
||||||
|
"options": {
|
||||||
|
"awslogs-group": "server",
|
||||||
|
"awslogs-region": "eu-west-1",
|
||||||
|
"awslogs-stream-prefix": "staging"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user