File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ services:
1111 - clickhouse_data:/var/lib/clickhouse
1212 - ./config.xml:/etc/clickhouse-server/config.xml:ro
1313 - ./users.xml:/etc/clickhouse-server/users.xml:ro
14+ - ./users.d:/etc/clickhouse-server/users.d:ro
1415 - ./flags:/var/lib/clickhouse/flags
1516 ulimits :
1617 nofile :
Original file line number Diff line number Diff line change 1+ <clickhouse >
2+ <!-- Docs: <https://clickhouse.com/docs/operations/settings/settings_users/> -->
3+ <users >
4+ <default >
5+ <!-- User default is available from any network -->
6+ <networks >
7+ <ip >::/0</ip >
8+ </networks >
9+ </default >
10+ </users >
11+ </clickhouse >
Original file line number Diff line number Diff line change 1818 <users >
1919 <!-- If user name was not specified, 'default' user is used. -->
2020 <default >
21- <password ></password >
21+ <password >defaultpass </password >
2222 <networks >
2323 <ip >::/0</ip >
2424 </networks >
3535 <!-- User can manipulate named collections. -->
3636 <named_collection_control >1</named_collection_control >
3737
38- <!-- User permissions can be granted here -->
39- <grants >
40- <query >GRANT ALL ON *.*</query >
41- </grants >
4238 </default >
4339
4440 <admin >
5046 <quota >default</quota >
5147 <access_management >1</access_management >
5248 <named_collection_control >1</named_collection_control >
53- <grants >
54- <query >GRANT ALL ON *.* TO admin</query >
55- </grants >
5649 </admin >
5750
5851 </users >
You can’t perform that action at this time.
0 commit comments