Андрей
370b57657b
Fix typo
...
Fix log message for more clean understanding
2024-11-11 13:26:31 +02:00
Mikhail f. Shiryaev
11f3568f5b
First check the ROOT to assign the env
2024-11-08 11:45:12 +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
4e53dda580
Use array for conditional mkdir
2024-11-07 20:45:31 +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
b82658a285
Remove processing of CLICKHOUSE_DOCKER_RESTART_ON_EXIT
2024-11-07 13:00:14 +01:00
Mikhail f. Shiryaev
f229fc5b40
Deprecate CLICKHOUSE_UID/CLICKHOUSE_GID docker ENV
2024-11-07 13:00:13 +01:00
Alexey Olshanskiy
d17b20705a
Add char escaping to docker's entrypoint
2024-09-05 17:55:56 +03:00
jktng
17c9e2df6b
Update entrypoint.sh
2024-02-14 11:39:22 -05:00
Alexander Nikolaev
68df201145
Add CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS envoronment variable.
2024-02-09 16:50:50 +03:00
cangyin
668d603344
Change working directory to data path
...
Take DATA_DIR out of loop
2024-01-20 10:46:55 +00:00
Eyal Halpern Shalev
14a869e518
Support CLICKHOUSE_PASSWORD_FILE environment variable in Dockerfile
...
Implement #58575
2024-01-07 21:10:57 +02:00
Alexander Nikolaev
885136fce0
Fix missing /
2023-06-29 15:59:22 +03:00
Alexander Nikolaev
cffc1e058c
Initialization of the database only once.
2023-06-29 15:57:55 +03:00
Alexey Milovidov
183707be74
Fix the script
2023-02-14 12:05:38 +01:00
Alexey Milovidov
bbcadd2311
Fix the script
2023-02-14 11:57:05 +01:00
Alexey Milovidov
dd79c5f4f6
Easy debugging of clickhouse-server in Docker
2023-02-14 09:49:05 +01:00
Denny Crane
77e3b9baa5
Update entrypoint.sh ( #44699 )
...
create xml with user settings if CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT is set
2022-12-29 21:09:44 +01:00
Alexey Milovidov
71deb8ea31
Fix Docker
...
Suggested by Lupsik Pupsik in Telegram.
2022-12-18 12:56:31 +03:00
Yakov Olkhovskiy
339aee2c89
do not fail if keys not present
2022-09-22 09:44:44 -04:00
Nikita Mikhaylov
51c29ae772
Done
2022-09-12 21:39:16 +00:00
Nikita Mikhaylov
f621bd0055
Delete old cache directories creation from entrypoint ( #40946 )
2022-09-04 23:54:05 +02:00
Heena Bansal
7779ac4707
Update entrypoint.sh
...
Typo error.
2022-08-11 12:01:05 -04:00
HeenaBansal2009
f9347aa9ec
Merge branch 'Entrypoint_Issue' of github.com:HeenaBansal2009/ClickHouse into Entrypoint_Issue
2022-08-11 06:51:16 -07:00
HeenaBansal2009
8880171899
Add --no-check-certificate in wget
2022-08-11 06:49:45 -07:00
Alexey Milovidov
c54985ff71
Update entrypoint.sh
2022-08-11 09:46:24 +03:00
HeenaBansal2009
653ad05ce9
Addresed review comments
2022-08-10 21:10:01 -07:00
HeenaBansal2009
0d2aa07b4d
Updated entrypoint.sh to listen on https_port if defined
2022-08-10 11:30:06 -07:00
HeenaBansal2009
3658530088
Updated entrypoint.sh to listen on https_port if defined
2022-08-10 11:23:15 -07:00
Alexey Milovidov
67a6b32a89
Update entrypoint.sh
2022-08-05 07:12:50 +03:00
Constantine Peresypkin
0d892b1cac
fix broken NFS mkdir introduced in #36341
2022-08-04 13:23:45 +02:00
Nikita Mikhaylov
379d8c5c6a
Chown all directories for multidisk setup ( #39121 )
2022-08-01 12:08:32 +02:00
Timur Solodovnikov
0c7388aea8
Handling SIGTERM signals from k8s ( #39130 )
2022-07-12 18:14:05 +02:00
Nikita Mikhaylov
a44157d81d
Allow globs in keys for clickhouse-extract-from-config
tool ( #38966 )
2022-07-08 16:13:32 +02:00
Alexey Milovidov
f614c139f4
Maybe better
2022-05-23 02:06:03 +02:00
Alexey Milovidov
e40396a0e5
Fix Docker
2022-05-11 03:21:08 +02:00
Alexey Milovidov
f3c3935df3
Fix shellcheck
2022-05-11 03:18:28 +02:00
Alexey Milovidov
b7e5a81215
Allow to drop privileges at startup
2022-04-17 00:24:47 +02:00
Alexey Milovidov
dda060063b
Remove trash
2022-04-17 00:14:27 +02:00
Constantine Peresypkin
f5787ff0a9
docker: fix root squashed data dirs
...
if we use some root squashed volume mappings in docker
uid=0 is actually uid=nobody
thus FS operations with uid=0 will fail miserably
and overall it's a strange idea to create dirs under root when
DO_NOT_CHOWN is in effect...
2022-01-26 14:29:27 +02:00
Azat Khuzhin
da90df5658
docker: switch <yandex> to <clickhouse>
2021-10-26 08:53:14 +03:00
Alexey Milovidov
e9e77b4403
.tech -> .com
2021-09-22 03:22:57 +03:00
Mikhail f. Shiryaev
64c35b2511
Disable watchdog in docker by default
2021-07-23 21:42:33 +02:00
Nikolai Kochetov
e0c5dc1449
Update entrypoint.sh
2021-07-20 16:10:29 +03:00
Nikolai Kochetov
4df50d3490
Update entrypoint.sh
2021-07-20 15:02:20 +03:00
Ky Li
9abd7e543c
Update entrypoint.sh
...
We build clickhouse cluster in k8s by clickhouse-operator.
clickhouse-server.log is mounted by emptydir on the path `/var/log/clickhouse-server`.
It causes the file system error called `Necessary directory '/var/log/clickhouse-server' isn't owned by user with id '101' ` when CLICKHOUSE_DO_NOT_CHOWN is set to true(1).
Because emptydir file and dir is owned by root when it started, it has to do the chown cmd.
But it will take a long time to run chown cmd when the cluster has much data (in table data dir), the cluster cannot even restart because of `initialDelaySeconds`
So chown operation is necessary to check if the file owner and group is owned by user 101.
2021-07-20 12:16:51 +08:00
filimonov
4766576a28
Fix error message to include file path
2021-06-04 10:00:01 +02:00
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