Blame view

docker-compose-jfrog.yml 3.37 KB
1f3a6f168   George Vlahavas   Add docker-compos...
1
2
3
4
5
6
7
8
  version: '3'
  
  services:
   
    #CEPTD     
    suricata:
      image: registry.curex-project.eu:443/curex-local/kea_suricata:1.0.1
      container_name: kea_suricata
ba48fa041   George Vlahavas   Set restart to un...
9
      restart: unless-stopped
1f3a6f168   George Vlahavas   Add docker-compos...
10
11
12
13
14
15
16
17
18
19
20
21
22
      network_mode: "host"
      cap_add:
        - NET_ADMIN
        - SYS_NICE
        - NET_RAW
      command: ONLINE
      volumes:
        - ./data/suricata/log:/var/log/suricata
        - ./data/pcap:/var/pcap
        
    elasticsearch:
      image: registry.curex-project.eu:443/curex-local/kea_elasticsearch:7.6.2
      container_name: kea_elasticsearch
ba48fa041   George Vlahavas   Set restart to un...
23
      restart: unless-stopped
1f3a6f168   George Vlahavas   Add docker-compos...
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
      environment:
        - cluster.name=keacluster
        - node.name=keacluster-node-01
        - discovery.type=single-node
        - bootstrap.memory_lock=true
        - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
        - xpack.ml.enabled=false
        - xpack.security.enabled=false
        - xpack.ilm.enabled=false
        - path.logs=/data/elk/log
        - path.data=/data/elk/data
        - http.host=0.0.0.0
        - http.cors.enabled=true
        - http.cors.allow-origin="*"
        - indices.query.bool.max_clause_count=2000
      ulimits:
        memlock:
          soft: -1
          hard: -1
1f3a6f168   George Vlahavas   Add docker-compos...
43
44
45
46
47
48
      volumes:
        - ./data:/data #/usr/share/elasticsearch/data
    
    logstash:
      image: registry.curex-project.eu:443/curex-local/kea_logstash:1.0.1
      container_name: kea_logstash
ba48fa041   George Vlahavas   Set restart to un...
49
      restart: unless-stopped
1f3a6f168   George Vlahavas   Add docker-compos...
50
51
52
53
54
55
      volumes:
        - ./data:/data
          
    kibana:
      image: registry.curex-project.eu:443/curex-local/kea_kibana:7.6.2
      container_name: kea_kibana
ba48fa041   George Vlahavas   Set restart to un...
56
      restart: unless-stopped
4b1e82575   George Vlahavas   Run kibana on por...
57
58
      ports:
        - "5611:5601"
1f3a6f168   George Vlahavas   Add docker-compos...
59
60
    #Controller      
    webserver:
7ba34b2f7   George Vlahavas   Build our own web...
61
      image: registry.curex-project.eu:443/curex-local/kea_webserver:1.0.0
1f3a6f168   George Vlahavas   Add docker-compos...
62
63
      container_name: kea_webserver
      restart: unless-stopped
611c8fed4   George Vlahavas   Make webserver de...
64
65
      depends_on:
        - api
1f3a6f168   George Vlahavas   Add docker-compos...
66
67
68
69
70
      tty: true
      ports:
        - "80:80"
        - "443:443"
      volumes:
8ace96989   George Vlahavas   Revert "Test usin...
71
        - ./api:/var/www
1f3a6f168   George Vlahavas   Add docker-compos...
72
    
1f3a6f168   George Vlahavas   Add docker-compos...
73
    api:
0c97431ec   George Vlahavas   Increase kea_api ...
74
      image: registry.curex-project.eu:443/curex-local/kea_api:1.0.2
1f3a6f168   George Vlahavas   Add docker-compos...
75
76
      container_name: kea_api
      restart: unless-stopped
c0ea25785   George Vlahavas   Revert "Set tty t...
77
      tty: true
1f3a6f168   George Vlahavas   Add docker-compos...
78
79
      working_dir: /var/www
      volumes:
8ace96989   George Vlahavas   Revert "Test usin...
80
        - ./api:/var/www
1f3a6f168   George Vlahavas   Add docker-compos...
81
82
83
84
85
86
87
  
    #OD
    od:
      image: registry.curex-project.eu:443/curex-local/kea_od:1.0.1
      container_name: kea_od
      depends_on:
        - timescaledb
ba48fa041   George Vlahavas   Set restart to un...
88
      restart: unless-stopped
1f3a6f168   George Vlahavas   Add docker-compos...
89
90
91
92
93
94
95
96
97
98
      ports:
        - "9091:9091"
    
    #MLTD
    mltd:
      image: registry.curex-project.eu:443/curex-local/kea_mltd:1.0.1
      container_name: kea_mltd
      depends_on:
        - timescaledb
        - mosquitto
ba48fa041   George Vlahavas   Set restart to un...
99
      restart: unless-stopped
1f3a6f168   George Vlahavas   Add docker-compos...
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
      ports:
        - "5000:5000"
    
    #MQTT   
    mosquitto:
      image: registry.curex-project.eu:443/curex-local/kea_mqtt:1.6.9
      container_name: kea_mqtt
      ports:
        - "1883:1883"
        - "9001:9001"
      volumes:
        - ./data/mosquitto/data:/mosquitto/data
        - ./data/mosquitto/log:/mosquitto/log
    
    #Persistence
    timescaledb:
      image: registry.curex-project.eu:443/curex-local/kea_timescaledb:2.1.0-pg11-oss
      container_name: kea_timescaledb
      volumes:
        - ./data/timescaledb:/var/lib/postgresql/data
      environment:
        - POSTGRES_USER=postgres
        - POSTGRES_PASSWORD=postgres
        - POSTGRES_DB=kea
      ports:
        - "5432:5432"
    
    #Visualization
    grafana:
b849ecaad   George Vlahavas   Build our own gra...
129
      image: registry.curex-project.eu:443/curex-local/kea_grafana:1.0.0
1f3a6f168   George Vlahavas   Add docker-compos...
130
131
132
133
134
135
136
137
      container_name: kea_grafana
      ports:
        - "3001:3000"
      environment:
        - GF_SECURITY_ALLOW_EMBEDDING=true
        - GF_SECURITY_COOKIE_SAMESITE=none
        - GF_AUTH_ANONYMOUS_ENABLED=true
        - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
b849ecaad   George Vlahavas   Build our own gra...
138