From 95ad2bc15052102d29947be0eaf236ed45696cf8 Mon Sep 17 00:00:00 2001 From: Jason Bissict Date: Mon, 11 Dec 2023 14:41:28 +0200 Subject: [PATCH] Added compose extends for aws logging --- docker-compose-aws-logging-letsencrypt.yml | 33 ++++++++++++++++++++++ docker-compose-aws-logging.yml | 31 ++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 docker-compose-aws-logging-letsencrypt.yml create mode 100644 docker-compose-aws-logging.yml diff --git a/docker-compose-aws-logging-letsencrypt.yml b/docker-compose-aws-logging-letsencrypt.yml new file mode 100644 index 0000000..4a13bec --- /dev/null +++ b/docker-compose-aws-logging-letsencrypt.yml @@ -0,0 +1,33 @@ +include: + - docker-compose-letsencrypt.yml +services: + redis: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: redis + frontend: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: frontend + switchboard: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: switchboard + nginx: + volumes: + - ./nginx/conf.d:/etc/nginx/conf.d/ + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: nginx \ No newline at end of file diff --git a/docker-compose-aws-logging.yml b/docker-compose-aws-logging.yml new file mode 100644 index 0000000..19c5776 --- /dev/null +++ b/docker-compose-aws-logging.yml @@ -0,0 +1,31 @@ +include: + - docker-compose.yml +services: + redis: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: redis + frontend: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: frontend + switchboard: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: switchboard + nginx: + logging: + driver: awslogs + options: + awslogs-region: eu-west-1 + awslogs-group: canarytokens-dev + awslogs-stream: nginx \ No newline at end of file