Skip to content

Commit c16d388

Browse files
committed
enable clickhouse for compose setup
1 parent 4327b14 commit c16d388

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hosting/docker/webapp/docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
depends_on:
1818
- postgres
1919
- redis
20+
- clickhouse
2021
networks:
2122
- webapp
2223
- supervisor
@@ -58,6 +59,13 @@ services:
5859
TRIGGER_BOOTSTRAP_ENABLED: 1
5960
TRIGGER_BOOTSTRAP_WORKER_GROUP_NAME: bootstrap
6061
TRIGGER_BOOTSTRAP_WORKER_TOKEN_PATH: /home/node/shared/worker_token
62+
# ClickHouse configuration
63+
CLICKHOUSE_URL: ${CLICKHOUSE_URL:-http://default:password@clickhouse:8123?secure=false}
64+
CLICKHOUSE_LOG_LEVEL: ${CLICKHOUSE_LOG_LEVEL:-info}
65+
# Run replication
66+
RUN_REPLICATION_ENABLED: ${RUN_REPLICATION_ENABLED:-1}
67+
RUN_REPLICATION_CLICKHOUSE_URL: ${RUN_REPLICATION_CLICKHOUSE_URL:-http://default:password@clickhouse:8123}
68+
RUN_REPLICATION_LOG_LEVEL: ${RUN_REPLICATION_LOG_LEVEL:-info}
6169
# Limits
6270
# TASK_PAYLOAD_OFFLOAD_THRESHOLD: 524288 # 512KB
6371
# TASK_PAYLOAD_MAXIMUM_SIZE: 3145728 # 3MB

0 commit comments

Comments
 (0)