Setting up vector via accessories #670
morgoth
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Simplified setup of vector service: accessories:
vector:
image: timberio/vector:0.37.1-alpine
hosts:
- <host-1-ip>
- <host-2-ip>
env:
secret:
- VECTOR_TOKEN
port: "8686:8686"
files:
- config/vector.yaml:/etc/vector/vector.yaml:ro
volumes:
- /var/run/docker.sock:/var/run/docker.sock This way you can keep |
Beta Was this translation helpful? Give feedback.
2 replies
-
Relavent article: https://www.honeybadger.io/blog/kamal-vector-logs/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setting up vector via accessories can be done like this:
where one have to setup
/root/vector.yaml
on the root host.My usecase was to integrate https://betterstack.com/ and the config for it (after registering and setting up account) can be fetched via
curl https://logs.betterstack.com/vector-yaml/docker/<VECTOR_TOKEN> -o /root/vector.yaml
Beta Was this translation helpful? Give feedback.
All reactions