Skip to content

Commit

Permalink
fix elastic setup
Browse files Browse the repository at this point in the history
  • Loading branch information
drosetti committed Dec 2, 2024
1 parent bda1694 commit 4dcc2db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions create_elastic_certs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash

# create dir only in case they missing
mkdir -p ./certs

if [ ! -f ./certs/elastic_ca/ca.crt ] && [ ! -f ./certs/elastic_ca/ca.key ] && [ ! -f ./certs/elastic_instance/instance.crt ] && [ ! -f ./certs/elastic_instance/instance.key ]; then
# start container
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.15.0 &&
Expand Down
3 changes: 2 additions & 1 deletion docker/elasticsearch.override.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
services:
uwsgi:
depends_on:
- elasticsearch
elasticsearch:
condition: service_healthy
volumes:
- ../certs:/opt/deploy/intel_owl/certs

Expand Down

0 comments on commit 4dcc2db

Please sign in to comment.