Commit Graph

27 Commits

Author SHA1 Message Date
alesapin
581ab43cfb
Merge pull request #22132 from devwout/fix-docker-entrypoint
Fix docker entrypoint in case http_port is not in the config
2021-03-29 16:31:18 +03:00
Ewout
6fe26493e9 Fix docker entrypoint in case http_port is not in config.
`http_port` can be removed from the configuration when serving HTTP is
not desired. When it is not present, `extract-from-config` will fail,
which will prevent the server from starting.

Only fetch it when it is required for database initialization.
2021-03-25 16:14:48 +01:00
filimonov
4b6b1311ce
Update entrypoint.sh 2021-03-24 22:33:08 +01:00
filimonov
8121c52c53
Update entrypoint.sh
fix for #22100
2021-03-24 22:24:07 +01:00
Marquitos
27933e714b Add 'access_management' configuration to initial setup 2021-02-05 17:39:41 +01:00
filimonov
5e350bb761
Update entrypoint.sh
Fix for #20002
2021-02-02 23:36:09 +01:00
Mikhail Filimonov
9f22bcefb0
Docker: better server entrypoint 2021-01-11 18:24:49 +01:00
Guillaume Tassery
4920bba7de Override value for running scripts on docker-entrypoint-initdb.d with CLICKHOUSE_INIT_TIMEOUT 2020-12-05 09:53:15 +07:00
alekseik1
a4a5b96d4a
do not expose ClickHouse server until initialization is complete 2020-09-24 20:11:12 +03:00
giordyb
d61da39c10
Update entrypoint.sh
without -q option the database does not get created at startup
2020-06-11 17:23:02 +02:00
Ivan Starkov
bdcf1170ce
Instead of forcing IPv4 protocol force wget to use protocols in order 2020-06-09 16:32:49 +03:00
Ivan Starkov
32772073ea
Fix docker-entrypoint-initdb.d wait
Fixes 'Address family not supported by protocol' for any docker-entrypoint-initdb.d script.

wget uses 'localhost' which resolves for both ipv4 and ipv6 with current config (/etc/hosts) and so the wget fails _(Address family not supported by protocol)_ and does not retry.

Forcing it to use IPv4 fixes the issue
2020-06-09 13:52:21 +03:00
Paramtamtam
a55c6763d6
Default user creation fixed 2020-05-04 13:30:05 +05:00
Paramtamtam
cbcd3b9a76
Small fixes 2020-05-04 12:27:57 +05:00
Paramtamtam
a4e61c9556
Revert unimportant changes 2020-05-04 12:20:20 +05:00
Paramtamtam
c75a631ff4
Changes after CR(2) 2020-05-04 12:11:35 +05:00
Paramtamtam
54e24aa6ff
CR changes 2020-05-04 01:04:00 +05:00
Azat Khuzhin
c2a7021e37 Add ability to change user/group for clickhouse-server docker image
This will allow to create files owned by subuid/subgid if docker is
running with userns.
2020-01-26 19:37:58 +03:00
Korviakov Andrey
bf28000d4a pr #5321 fix 2019-06-24 14:45:04 +03:00
Mikhail f. Shiryaev
87abf1f38e Issue #4947, add check for empty variable 2019-04-10 14:29:04 +02:00
Mikhail f. Shiryaev
ebc04d05fb Add way to launch container as custom user 2019-03-21 17:18:44 +01:00
alesapin
5f9456648b Add env variable if user don't want to chown directories in docker image 2018-12-29 16:34:27 +03:00
mf5137
becad378ca Fixes from comments of #3695 2018-12-10 16:23:21 +01:00
alexey-milovidov
876eadb16b
Update entrypoint.sh 2018-12-07 23:43:02 +03:00
Konstantin Lebedev
1053f584bd Add docker-entrypoint-initdb.d support 2018-11-28 23:01:52 +03:00
Elghazal Ahmed
0dd5777c1c Run clickhouse-server in exec form 2018-11-26 20:01:48 +03:00
Yurii Vlasenko
850d58c33b docker sugar 2018-09-22 01:00:57 +03:00