Commit Graph

10 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
11f3568f5b
First check the ROOT to assign the env 2024-11-08 11:45:12 +01:00
Mikhail f. Shiryaev
cf1da69f93
Make keeper entrypoint less verbose, like the in the server 2024-11-08 11:44:02 +01:00
Mikhail f. Shiryaev
f24dca21a5
Implement CLICKHOUSE_RUN_AS_ROOT instead of preser UID/GID 2024-11-08 09:15:15 +01:00
Mikhail f. Shiryaev
ae97149041
Remove /usr/bin for clickhouse/clickhouse-server/clickhouse-keeper 2024-11-07 13:00:15 +01:00
Mikhail f. Shiryaev
f229fc5b40
Deprecate CLICKHOUSE_UID/CLICKHOUSE_GID docker ENV 2024-11-07 13:00:13 +01:00
Azat Khuzhin
618789d196 Do not pass logs for keeper explicitly in the image to allow overriding
Right now, if you will start keeper like this:

    $ cat /tmp/local.yaml
    ---
    logger:
        log:
            "@remove": remove
        errorlog:
            "@remove": remove
        console: 1
    $ docker run --name keeper -v /tmp/local.yaml:/etc/clickhouse-keeper/conf.d/local.yaml --rm -it clickhouse/clickhouse-keeper

This will still not work, because the --log-file/--errorlog-file passed
explicitly.

So this patch removes this in case config is valid, but, if keeper is
launched with embedded config, this had been left as-is, to keep
previous behavior.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:28:13 +02:00
Tristan
7962a69770
Cleanup Keeper Dockerfile and Docker entrypoint 2024-03-24 11:19:35 +00:00
Evgeny Kruglov
c38841a044
Fixes for clickhouse/clickhouse-keeper docker image (#38462) 2022-06-30 12:47:35 +02:00
James Maidment
63f5e0b0c7 Add coordination dir root 2022-06-08 09:13:27 +10:00
Nikita Mikhaylov
279defbe9f
Add clickhouse-keeper Dockerfile 2022-04-01 12:32:26 +02:00