Skip to content

Commit

Permalink
Added compose extends for aws logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjb committed Dec 11, 2023
1 parent c92a636 commit 95ad2bc
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docker-compose-aws-logging-letsencrypt.yml
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions docker-compose-aws-logging.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 95ad2bc

Please sign in to comment.