Blame view

api/.env.example 1.76 KB
0d8c0f816   Thanasis Naskos   initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  APP_NAME=KEA
  APP_ENV=production
  APP_KEY=
  APP_DEBUG=true
  APP_URL=http://localhost
  
  LOG_CHANNEL=stack
  
  DB_CONNECTION=pgsql
  DB_HOST=timescaledb
  DB_PORT=5432
  DB_DATABASE=kea
  DB_USERNAME=postgres
  DB_PASSWORD=postgres
  
  BROADCAST_DRIVER=log
  CACHE_DRIVER=file
  QUEUE_CONNECTION=sync
  SESSION_DRIVER=file
  SESSION_LIFETIME=120
  
  JWT_TTL=1440
  JWT_SECRET=
  
  ELASTICSEARCH_HOST=elasticsearch
  ELASTICSEARCH_PORT=9200
  ELASTICSEARCH_SCHEME=http
  ELASTICSEARCH_USER=
  ELASTICSEARCH_PASS=
  
  MQTT_HOST=mosquitto
  MQTT_USERNAME=
  MQTT_PASSWORD=
  MQTT_CERT_FILE=
  MQTT_PORT=1883
  MQTT_DEBUG=false
  MQTT_QOS=0
  MQTT_RETAIN=0
  
  MLTD_HOST=mltd
  MLTD_PORT=5000
  OD_HOST=od
  OD_PORT=9091
25df08e6c   Chris Bellas   Merged changes fr...
44

c0c5f5114   Chris Bellas   Added keycloak fr...
45
  # backend
1e11ab058   George Vlahavas   Add keycloak vari...
46
  KEYCLOAK_REALM_PUBLIC_KEY=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg9OruW+gRnBcm4S1da+TDj7LdDXTFykExlg2z5Fx/vv4ldJf1/vCAEdSP/HZXRMq5TRefnkzVyv66COmjyPjGNB2P240HOOzBPnU5ibsu7H2betZvR+uj/y9o5T3hUpPy+Gbb02i57xoKyECy+yRtPjmF63R0rFfFBV/LdScWdnltTY7YfmRe6dRcBZG5QZ8bKTWP40QUzwG2PnJpIEi3KdYp4qDx4LvXnSvIC0Z6E59R2oialMKQtPO5Xu9Ea6fYe4guqX9zdpoC+bcvxjJ275zj+RoFVaQHhGBZDPeK4VITmXiUWkBbTGQwEVY8ZY4b62kWFwjOg9yOv47s6N7cQIDAQAB
25df08e6c   Chris Bellas   Merged changes fr...
47
48
49
50
51
  KEYCLOAK_LOAD_USER_FROM_DATABASE=false
  KEYCLOAK_USER_PROVIDER_CREDENTIAL=name
  KEYCLOAK_TOKEN_PRINCIPAL_ATTRIBUTE=preferred_username
  KEYCLOAK_APPEND_DECODED_TOKEN=false
  KEYCLOAK_ALLOWED_RESOURCES=account
c0c5f5114   Chris Bellas   Added keycloak fr...
52
53
54
55
  #frontend
  KEYCLOAK_REALM=Integration
  KEYCLOAK_URL=https://keycloak-curex.gnubila.fr/auth/
  KEYCLOAK_CLIENT_ID=KEA
fa297f23d   Chris Bellas   Added config fetc...
56

ff996c1b2   Chris Bellas   Changed env calls...
57
  # url must be without trailing /
02efe4464   George Vlahavas   Use separate KIBA...
58
59
  KIBANA_URL=$APP_URL
  GRAFANA_URL=$APP_URL
ff996c1b2   Chris Bellas   Changed env calls...
60
  # set ports null to ignore
fa297f23d   Chris Bellas   Added config fetc...
61
62
  KIBANA_PORT=5611
  GRAFANA_PORT=3001
16f21ad3e   Thanasis Naskos   Fixing sonarqube ...
63
64
  
  REMOTESYSLOG=192.168.50.32
2c55d4ab4   Thanasis Naskos   merge with master...
65

9077daff4   Chris Bellas   Dynamic url const...
66
67
68
  OD_GRAFANA_PARAMS=/d/qDDyJZ6Wz/od?orgId=1
  MLTD_GRAFANA_PARAMS=/d/dtCrgk6Wk/mltd?orgId=1
  CEPTD_KIBANA_PARAMS="/app/kibana#/dashboard/Suricata?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))"
c0c5f5114   Chris Bellas   Added keycloak fr...
69
  AUTH_ENABLED=true