Skip to content

Commit

Permalink
Adding sennet docker configuration for forwarding logs to cloudwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsibilla committed Apr 16, 2024
1 parent 737d3eb commit 8d737a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sennet-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ services:
- "./uuid-api/nginx/conf.d:/etc/nginx/conf.d"
networks:
- sennet_docker_network
# Send docker logs to AWS CloudWatch
logging:
driver: awslogs
options:
awslogs-region: us-east-1
awslogs-group: uuid-api-docker-logs
awslogs-stream: ${LOG_STREAM}

networks:
# This is the network created by gateway to enable communicaton between multiple docker-compose projects
Expand Down
1 change: 1 addition & 0 deletions sennet-docker/example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LOG_STREAM=DEV

0 comments on commit 8d737a6

Please sign in to comment.