mirror of
https://github.com/valitydev/fraudbusters-compose.git
synced 2024-11-06 00:15:18 +00:00
Add new graf and fix user for CH
This commit is contained in:
parent
ea3769c56b
commit
8317ddc73e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/postgres/
|
||||
/clickhouse/data/
|
||||
/.idea/
|
||||
|
@ -1,6 +1,25 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
CLICKHOUSE_USER="${CLICKHOUSE_USER:-user}";
|
||||
CLICKHOUSE_PASSWORD="${CLICKHOUSE_PASSWORD:-password}";
|
||||
|
||||
cat <<EOT >> /etc/clickhouse-server/users.d/user.xml
|
||||
<yandex>
|
||||
<!-- Docs: <https://clickhouse.tech/docs/en/operations/settings/settings_users/> -->
|
||||
<users>
|
||||
<${CLICKHOUSE_USER}>
|
||||
<profile>default</profile>
|
||||
<networks>
|
||||
<ip>::/0</ip>
|
||||
</networks>
|
||||
<password>${CLICKHOUSE_PASSWORD}</password>
|
||||
<quota>default</quota>
|
||||
</${CLICKHOUSE_USER}>
|
||||
</users>
|
||||
</yandex>
|
||||
EOT
|
||||
|
||||
clickhouse client -n <<-EOSQL
|
||||
CREATE DATABASE IF NOT EXISTS fraud;
|
||||
|
||||
|
@ -79,6 +79,9 @@ services:
|
||||
image: yandex/clickhouse-server:19.17
|
||||
hostname: clickhouse
|
||||
container_name: clickhouse
|
||||
environment:
|
||||
CLICKHOUSE_USER: user
|
||||
CLICKHOUSE_PASSWORD: password
|
||||
ports:
|
||||
- 9000:9000
|
||||
- 8123:8123
|
||||
@ -145,7 +148,7 @@ services:
|
||||
- 8991:8022
|
||||
|
||||
fraudbusters:
|
||||
image: dr2.rbkmoney.com/rbkmoney/fraudbusters:e4b2f9e830890a8956d17b6a0599a4ba2ebb1c1c
|
||||
image: dr2.rbkmoney.com/rbkmoney/fraudbusters:53d558563fa72966ad5a8b40782b0cebc1defd9f
|
||||
hostname: fraudbusters
|
||||
container_name: fraudbusters
|
||||
environment:
|
||||
@ -155,11 +158,13 @@ services:
|
||||
clickhouse.db.url: "jdbc:clickhouse://clickhouse:8123/default"
|
||||
spring.profiles.active: "full-prod"
|
||||
logging.config: "tmp/logback-test.xml"
|
||||
clickhouse.db.user: ''
|
||||
clickhouse.db.password: ''
|
||||
depends_on:
|
||||
- clickhouse
|
||||
- broker
|
||||
- columbus
|
||||
- wblist
|
||||
# - columbus
|
||||
# - wblist
|
||||
- kafka-setup
|
||||
ports:
|
||||
- 8999:8022
|
||||
|
1119
grafana/dashboards/jsons/fraud data tables.json
Normal file
1119
grafana/dashboards/jsons/fraud data tables.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user