Return to previous mode, solution not here for syslog
This commit is contained in:
+8
-8
@@ -7,20 +7,20 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/hawser_stacks/_data/loki/config/config.yml:/etc/loki/config.yml:ro
|
- /var/lib/docker/volumes/hawser_stacks/_data/loki/config/config.yml:/etc/loki/config.yml:ro
|
||||||
- /var/lib/docker/volumes/loki/data:/loki
|
- /var/lib/docker/volumes/loki/data:/loki
|
||||||
# ports:
|
ports:
|
||||||
# - "13100:3100"
|
- "13100:3100"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
# network_mode: host
|
||||||
|
|
||||||
promtail-syslog:
|
promtail-syslog:
|
||||||
image: mcjoppy/promtail-syslog:latest
|
image: mcjoppy/promtail-syslog:latest
|
||||||
container_name: promtail-syslog
|
container_name: promtail-syslog
|
||||||
environment:
|
environment:
|
||||||
- CLIENT_URL=http://192.168.10.221:3100/loki/api/v1/push
|
- CLIENT_URL=http://loki:3100/loki/api/v1/push
|
||||||
# ports:
|
ports:
|
||||||
# - "514:514/udp"
|
- "514:514/udp"
|
||||||
# - "514:514/tcp"
|
- "514:514/tcp"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- loki
|
- loki
|
||||||
network_mode: host
|
# network_mode: host
|
||||||
|
|||||||
Reference in New Issue
Block a user