-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose more ports with docker-compose
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
# run "docker compose up" and tell fluent-bit to send data to port 9000: | ||
# fluent-bit -i cpu -o forward://127.0.0.1:9000 | ||
# | ||
# fluent-bit -i cpu -o forward://127.0.0.1:9000 | ||
# | ||
# it is also possible to send data via http through port 9010: | ||
# | ||
# for i in $(seq 10); do curl -XPOST -H "Content-Type: application/json" -d '{"hello": "Calyptia'$i'"}' http://127.0.0.1:9010; sleep 1; done | ||
# | ||
# To inspect vivo exporter, use curl with `-i` to show headers: | ||
# | ||
# curl -i http://127.0.0.1:2025/logs?from=0 | ||
version: '3' | ||
services: | ||
vivo: | ||
image: calyptia/vivo | ||
ports: | ||
- "2025:2025" | ||
- "8000:3000" | ||
- "9000:24224" | ||
- "9010:9080" |