Skip to content

Commit 8d62451

Browse files
committed
chore(docker compose): add container name as tag attribute to container logs
Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com>
1 parent 59cdb0a commit 8d62451

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ x-default-logging: &logging
77
options:
88
max-size: "5m"
99
max-file: "2"
10+
tag: "{{.Name}}"
1011

1112
networks:
1213
default:

0 commit comments

Comments
 (0)