CORD-2465: Bring up filebeat service in XOS core
Change-Id: Ice6d5701774beb78261b6ae766e1347da13f0912
diff --git a/roles/cord-profile/templates/docker-compose.yml.j2 b/roles/cord-profile/templates/docker-compose.yml.j2
index 0efc344..3d6fd43 100644
--- a/roles/cord-profile/templates/docker-compose.yml.j2
+++ b/roles/cord-profile/templates/docker-compose.yml.j2
@@ -243,7 +243,7 @@
{% for network in xos_docker_networks %}
- {{ network }}
{% endfor %}
- command: python /opt/xos/manage.py runserver 0.0.0.0:9000
+ command: bash -c "service filebeat start; python /opt/xos/manage.py runserver 0.0.0.0:9000"
ports:
- "9000:9000"
links:
@@ -278,7 +278,7 @@
{% for network in xos_docker_networks %}
- {{ network }}
{% endfor %}
- command: bash -c "cd coreapi; bash ./start_coreapi.sh"
+ command: bash -c "service filebeat start; cd coreapi; bash ./start_coreapi.sh"
ports:
- "50051:50051"
- "50055:50055"