doc fix, update ui, add config for arm

This commit is contained in:
ggmaleva 2022-05-27 15:42:30 +03:00
parent 4e5702a3be
commit 3d5362227a
4 changed files with 24 additions and 9 deletions

View File

@ -14,15 +14,22 @@ When analyzing the results, it enriches the data from the storage location servi
### Run
1. ```docker-compose up -d```
1. ```docker-compose up -d``` - default configuration
2. [Simple use case](docs/simple_use_case_1.md)
1.2. ```docker-compose -f docker-compose.yml -f docker-compose-arm.yml up -d``` - configuration for ARM silicon
2.[Simple use case](docs/simple_use_case_1.md)
### Service live at:
- Grafana (http://localhost:3000) - admin/admin
- Swagger for fraudbusters management (http://localhost:8080/fb-management/v1/swagger-ui.html)
- Thrift proxy inspector proto fraudbusters (http://localhost:8022/...)
- Fraudbusters UI (http://localhost:8989)
### Stop
1. ```docker-compose down```
### License
[Apache 2.0 License.](/LICENSE)

11
docker-compose-arm.yml Normal file
View File

@ -0,0 +1,11 @@
---
version: '2'
services:
zookeeper:
image: watershine/cp-zookeeper:6.1.0-arm64
broker:
image: watershine/cp-enterprise-kafka:6.1.0-arm64
clickhouse:
image: lunalabsltd/clickhouse-server:20.6.7.4-arm

View File

@ -3,7 +3,6 @@ version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.0.1
# image: watershine/cp-zookeeper:6.1.0-arm64
hostname: zookeeper
container_name: zookeeper
environment:
@ -15,7 +14,6 @@ services:
broker:
image: confluentinc/cp-enterprise-kafka:5.0.1
# image: watershine/cp-enterprise-kafka:6.1.0-arm64
hostname: broker
container_name: broker
depends_on:
@ -83,7 +81,6 @@ services:
clickhouse:
image: yandex/clickhouse-server:20.6.7.4
# image: lunalabsltd/clickhouse-server:20.6.7.4-arm
hostname: clickhouse
container_name: clickhouse
environment:
@ -352,7 +349,7 @@ services:
- ./log-java:/opt/fraudbusters-warehouse/tmp
fraudbusters-ui:
image: ghcr.io/valitydev/fraudbusters-ui:sha-5661f6f
image: ghcr.io/valitydev/fraudbusters-ui:sha-831538a
hostname: fraudbusters-ui
container_name: fraudbusters-ui
environment:

View File

@ -41,12 +41,12 @@
![alt text](../images/add-role.png)
 
11. Add to /etc/hosts ```127.0.0.1 keyclock```
12. Go to user interface and login as your user
11. Add to /etc/hosts ```127.0.0.1 keycloak```
12. Go to user interface ```localhost:8989``` and login as your user
13. Templates -> Create template name -
```test```
template -
```rule:amount_test:amount >=1 -> decline;```
```rule:test:amount() > 100 -> decline;```
 
![alt text](../images/created-template.png)