Skip to content

Commit b2a2233

Browse files
committed
Send docker logs directly to graylog
1 parent 5e1f220 commit b2a2233

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

services/logging/docker-compose.yml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ services:
7575
aliases:
7676
- graylog
7777
ports:
78-
- 12200:12201/udp
78+
- 12201:12201/udp
7979
- 12202:12202/udp
8080
deploy:
8181
replicas: 1
@@ -102,7 +102,7 @@ services:
102102
vector:
103103
image: timberio/vector:0.49.X-debian
104104
ports:
105-
- "12201:12201/udp" # GELF input
105+
- "12200:12201/udp" # GELF input
106106
volumes:
107107
- /var/run/docker.sock:/var/run/docker.sock:ro
108108
environment:
@@ -112,6 +112,7 @@ services:
112112
- source: vector_config
113113
target: /etc/vector/vector.yaml
114114
deploy:
115+
replicas: 0
115116
resources:
116117
limits:
117118
cpus: "1.0"
@@ -140,7 +141,7 @@ services:
140141
deploy:
141142
placement:
142143
constraints: []
143-
replicas: 1
144+
replicas: 0
144145
restart_policy:
145146
condition: any
146147
delay: 5s

0 commit comments

Comments
 (0)