Commit 1f3a6f168eae0eb7b241d44346e2449ea03d3b0f
1 parent
a7065b1b37
Exists in
master
and in
4 other branches
Add docker-compose-jfrog.yml
Showing 1 changed file with 150 additions and 0 deletions
docker-compose-jfrog.yml
View file @
1f3a6f1
1 | +version: '3' | |
2 | + | |
3 | +services: | |
4 | + | |
5 | + #CEPTD | |
6 | + suricata: | |
7 | + image: registry.curex-project.eu:443/curex-local/kea_suricata:1.0.1 | |
8 | + container_name: kea_suricata | |
9 | + restart: always | |
10 | + network_mode: "host" | |
11 | + cap_add: | |
12 | + - NET_ADMIN | |
13 | + - SYS_NICE | |
14 | + - NET_RAW | |
15 | + command: ONLINE | |
16 | + volumes: | |
17 | + - ./data/suricata/log:/var/log/suricata | |
18 | + - ./data/pcap:/var/pcap | |
19 | + | |
20 | + elasticsearch: | |
21 | + image: registry.curex-project.eu:443/curex-local/kea_elasticsearch:7.6.2 | |
22 | + container_name: kea_elasticsearch | |
23 | + restart: always | |
24 | + environment: | |
25 | + - cluster.name=keacluster | |
26 | + - node.name=keacluster-node-01 | |
27 | + - discovery.type=single-node | |
28 | + - bootstrap.memory_lock=true | |
29 | + - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m" | |
30 | + - xpack.ml.enabled=false | |
31 | + - xpack.security.enabled=false | |
32 | + - xpack.ilm.enabled=false | |
33 | + - path.logs=/data/elk/log | |
34 | + - path.data=/data/elk/data | |
35 | + - http.host=0.0.0.0 | |
36 | + - http.cors.enabled=true | |
37 | + - http.cors.allow-origin="*" | |
38 | + - indices.query.bool.max_clause_count=2000 | |
39 | + ulimits: | |
40 | + memlock: | |
41 | + soft: -1 | |
42 | + hard: -1 | |
43 | + ports: | |
44 | + - "9200:9200" | |
45 | + volumes: | |
46 | + - ./data:/data #/usr/share/elasticsearch/data | |
47 | + | |
48 | + logstash: | |
49 | + image: registry.curex-project.eu:443/curex-local/kea_logstash:1.0.1 | |
50 | + container_name: kea_logstash | |
51 | + restart: always | |
52 | + volumes: | |
53 | + - ./data:/data | |
54 | + | |
55 | + kibana: | |
56 | + image: registry.curex-project.eu:443/curex-local/kea_kibana:7.6.2 | |
57 | + container_name: kea_kibana | |
58 | + restart: always | |
59 | + ports: | |
60 | + - "5601:5601" | |
61 | + | |
62 | + #Controller | |
63 | + webserver: | |
64 | + image: registry.curex-project.eu:443/curex-local/kea_webserver:1.19 | |
65 | + container_name: kea_webserver | |
66 | + restart: unless-stopped | |
67 | + tty: true | |
68 | + ports: | |
69 | + - "80:80" | |
70 | + - "443:443" | |
71 | + volumes: | |
72 | + - ./api:/var/www | |
73 | + - ./api/nginx/conf.d/:/etc/nginx/conf.d/ | |
74 | + | |
75 | + composer: | |
76 | + restart: 'no' | |
77 | + image: registry.curex-project.eu:443/curex-local/kea_composer:2.0.7 | |
78 | + container_name: kea_composer | |
79 | + command: install | |
80 | + volumes: | |
81 | + - ./api:/app | |
82 | + | |
83 | + api: | |
84 | + image: registry.curex-project.eu:443/curex-local/kea_api:1.0.1 | |
85 | + container_name: kea_api | |
86 | + restart: unless-stopped | |
87 | + tty: true | |
88 | + working_dir: /var/www | |
89 | + volumes: | |
90 | + - ./api:/var/www | |
91 | + - ./api/php/local.ini:/usr/local/etc/php/conf.d/local.ini | |
92 | + | |
93 | + #OD | |
94 | + od: | |
95 | + image: registry.curex-project.eu:443/curex-local/kea_od:1.0.1 | |
96 | + container_name: kea_od | |
97 | + depends_on: | |
98 | + - timescaledb | |
99 | + restart: always | |
100 | + ports: | |
101 | + - "9091:9091" | |
102 | + | |
103 | + #MLTD | |
104 | + mltd: | |
105 | + image: registry.curex-project.eu:443/curex-local/kea_mltd:1.0.1 | |
106 | + container_name: kea_mltd | |
107 | + depends_on: | |
108 | + - timescaledb | |
109 | + - mosquitto | |
110 | + restart: always | |
111 | + ports: | |
112 | + - "5000:5000" | |
113 | + | |
114 | + #MQTT | |
115 | + mosquitto: | |
116 | + image: registry.curex-project.eu:443/curex-local/kea_mqtt:1.6.9 | |
117 | + container_name: kea_mqtt | |
118 | + ports: | |
119 | + - "1883:1883" | |
120 | + - "9001:9001" | |
121 | + volumes: | |
122 | + - ./data/mosquitto/data:/mosquitto/data | |
123 | + - ./data/mosquitto/log:/mosquitto/log | |
124 | + | |
125 | + #Persistence | |
126 | + timescaledb: | |
127 | + image: registry.curex-project.eu:443/curex-local/kea_timescaledb:2.1.0-pg11-oss | |
128 | + container_name: kea_timescaledb | |
129 | + volumes: | |
130 | + - ./data/timescaledb:/var/lib/postgresql/data | |
131 | + environment: | |
132 | + - POSTGRES_USER=postgres | |
133 | + - POSTGRES_PASSWORD=postgres | |
134 | + - POSTGRES_DB=kea | |
135 | + ports: | |
136 | + - "5432:5432" | |
137 | + | |
138 | + #Visualization | |
139 | + grafana: | |
140 | + image: registry.curex-project.eu:443/curex-local/kea_grafana:7.4.3 | |
141 | + container_name: kea_grafana | |
142 | + ports: | |
143 | + - "3001:3000" | |
144 | + environment: | |
145 | + - GF_SECURITY_ALLOW_EMBEDDING=true | |
146 | + - GF_SECURITY_COOKIE_SAMESITE=none | |
147 | + - GF_AUTH_ANONYMOUS_ENABLED=true | |
148 | + - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin | |
149 | + volumes: | |
150 | + - ./data/grafana-storage:/var/lib/grafana |