Created
March 5, 2018 20:01
-
-
Save li0nel/c35c9fb48acb1e9adaa6f4527501df1d to your computer and use it in GitHub Desktop.
Docker Compose logging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
app: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
networks: | |
- network | |
links: | |
- postgres | |
- elasticsearch | |
logging: | |
driver: awslogs | |
options: | |
awslogs-region: "us-east-1" | |
awslogs-group: "laravel" | |
awslogs-create-group: "true" | |
env_file: | |
- docker-compose.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment