Commit 822b3122 authored by godog's avatar godog

Use single-host Thanos port allocation

parent 629c0b0b
Pipeline #5912 passed with stages
in 2 minutes and 6 seconds
......@@ -4,6 +4,9 @@ docker-thanos
A Docker image to run Thanos. All Thanos components are run by default on
container startup, individual components can be disabled via the environment.
Component ports are configured as described here:
The following environment variables are understood:
thanos-query.service: {
command: "/usr/sbin/thanos query --http-address=$(QUERY_HTTP_ADDRESS:- --grpc-address=$(QUERY_GRPC_ADDRESS:-*.yml $(QUERY_FLAGS)",
command: "/usr/sbin/thanos query --http-address=$(QUERY_HTTP_ADDRESS:- --grpc-address=$(QUERY_GRPC_ADDRESS:-*.yml $(QUERY_FLAGS:-)",
enabled: "$(QUERY_OFF:|false|true)",
kill_signal: SIGTERM,
exit_kills: true,
thanos-sidecar.service: {
command: "/usr/sbin/thanos sidecar --http-address=$(SIDECAR_HTTP_ADDRESS:- --grpc-address=$(SIDECAR_GRPC_ADDRESS:- $(SIDECAR_FLAGS)",
command: "/usr/sbin/thanos sidecar --http-address=$(SIDECAR_HTTP_ADDRESS:- --grpc-address=$(SIDECAR_GRPC_ADDRESS:- $(SIDECAR_FLAGS:-)",
enabled: "$(SIDECAR_OFF:|false|true)",
kill_signal: SIGTERM,
exit_kills: true,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment