mirror of
https://github.com/offen/website.git
synced 2024-12-23 13:30:20 +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"
|
||||
}
|
||||
],
|
||||
"links": ["server"]
|
||||
"links": ["server"],
|
||||
"logConfiguration": {
|
||||
"logDriver": "awslogs",
|
||||
"options": {
|
||||
"awslogs-group": "proxy",
|
||||
"awslogs-region": "eu-west-1",
|
||||
"awslogs-stream-prefix": "staging"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "server",
|
||||
@ -29,7 +37,15 @@
|
||||
"command": ["serve"],
|
||||
"environment": [
|
||||
{ "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