Set docker-compose to build from sources

This commit is contained in:
Manuel Gutierrez
2020-01-09 18:18:00 +01:00
parent 53f905937e
commit 5001a7d220
+4 -6
View File
@@ -3,7 +3,7 @@ version: '2'
services: services:
wazuh: wazuh:
image: wazuh/wazuh:3.10.2_7.5.0 build: wazuh
hostname: wazuh-manager hostname: wazuh-manager
restart: always restart: always
ports: ports:
@@ -11,9 +11,8 @@ services:
- "1515:1515" - "1515:1515"
- "514:514/udp" - "514:514/udp"
- "55000:55000" - "55000:55000"
elasticsearch: elasticsearch:
image: wazuh/wazuh-elasticsearch:3.10.2_7.5.0 build: elasticsearch
hostname: elasticsearch hostname: elasticsearch
restart: always restart: always
ports: ports:
@@ -28,9 +27,8 @@ services:
soft: -1 soft: -1
hard: -1 hard: -1
mem_limit: 2g mem_limit: 2g
kibana: kibana:
image: wazuh/wazuh-kibana:3.10.2_7.5.0 build: kibana
hostname: kibana hostname: kibana
restart: always restart: always
depends_on: depends_on:
@@ -39,7 +37,7 @@ services:
- elasticsearch:elasticsearch - elasticsearch:elasticsearch
- wazuh:wazuh - wazuh:wazuh
nginx: nginx:
image: wazuh/wazuh-nginx:3.10.2_7.5.0 build: nginx
hostname: nginx hostname: nginx
restart: always restart: always
environment: environment: