Cortex docker image configuration

11 views
Skip to first unread message

Cristian Datculescu

unread,
Feb 8, 2023, 3:18:10 AM2/8/23
to Cortex Project
Hello everyone. I am trying to get a basic local setup using docker for playing around with cortex.

I have the following configuration for cortex locally, but i am coming down to the following error: 



The cortex configuration currently looks like this: 


auth_enabled: false

server:
http_listen_port: 9009
grpc_server_max_recv_msg_size: 104857600
grpc_server_max_send_msg_size: 104857600
grpc_server_max_concurrent_streams: 1000

distributor:
shard_by_all_labels: false
pool:
health_check_ingesters: true

ingester_client:
grpc_client_config:
max_recv_msg_size: 104857600
max_send_msg_size: 104857600
grpc_compression: gzip

ingester:
lifecycler:
join_after: 0
min_ready_duration: 0s
final_sleep: 0s
num_tokens: 512
tokens_file_path: /tmp/cortex/wal/tokens
ring:
kvstore:
consul:
replication_factor: 1

storage:
engine: blocks

blocks_storage:
filesystem:
dir: /tmp/cortex/blocks

ruler_storage:
backend: filesystem
filesystem:
dir: /tmp/cortex/ruler

alertmanager_storage:
backend: filesystem
filesystem:
dir: /tmp/cortex/alertmanager

frontend_worker:
match_max_concurrent: true

ruler:
enable_api: true
enable_sharding: false


Would appreciate if someone can give me a hint on what i am doing wrong here in the config. Being a local setup i would like to have everything stored locally (so no s3 or any other remote storage to test).

Thanks,
Cristian.
Reply all
Reply to author
Forward
0 new messages