Skip to content

Commit

Permalink
Add .env for specifying aws logging specifics
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjb committed Dec 12, 2023
1 parent 952b48b commit d0ac362
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Thanks, @mamisano for catching a silly issue using the above 🙏
We are going to track some new features/additions here so that it is quick and easy to see what has been recently added.
- we have moved the "What's new?" to Github Discussions. Go check it out over ()[]
- we have moved the "What's new?" to Github Discussions. Go check it.
- we now have the capability of sending error logs to a webhook of your choice, hopefully alerting you
or your team to the failures as opposed to these errors only living in a log file.
Expand Down
16 changes: 8 additions & 8 deletions docker-compose-aws-logging-letsencrypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: redis
frontend:
extends:
Expand All @@ -18,8 +18,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: frontend
switchboard:
extends:
Expand All @@ -29,8 +29,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: switchboard
nginx:
extends:
Expand All @@ -41,8 +41,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: nginx
volumes:
log-volume:
16 changes: 8 additions & 8 deletions docker-compose-aws-logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: redis
frontend:
extends:
Expand All @@ -18,8 +18,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: frontend
switchboard:
extends:
Expand All @@ -29,8 +29,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: switchboard
nginx:
extends:
Expand All @@ -39,8 +39,8 @@ services:
logging:
driver: awslogs
options:
awslogs-region: eu-west-1
awslogs-group: canarytokens-dev
awslogs-region: ${CANARYTOKENS_LOGGING_REGION:-eu-west-1}
awslogs-group: ${CANARYTOKENS_LOGGING_GROUP:-canarytokens}
awslogs-stream: nginx
volumes:
log-volume:

0 comments on commit d0ac362

Please sign in to comment.