From 447ad17cc7caec9eb11fe9ab95cc143cc4fb63ad Mon Sep 17 00:00:00 2001 From: dgjinsu Date: Fri, 17 Nov 2023 22:34:27 +0900 Subject: [PATCH] docs: docker connect with aws cloud watch --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index f47ac04..b3d207b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,12 @@ services: - SECRET_KEY=${SECRET_KEY} - S3_ACCESS_KEY=${S3_ACCESS_KEY} - S3_SECRET_ACCESS_KEY=${S3_SECRET_ACCESS_KEY} + logging: + driver: awslogs + options: + awslogs-group: "jikgong-logs" + awslogs-region: "ap-northeast-2" + awslogs-stream: "jikgong-stream" ports: - "8080:8080" restart: always