Skip to content

Commit

Permalink
build: Remove elasticsearch (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt authored Jun 28, 2024
1 parent e346430 commit 3a2af30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
fi
- name: Start Docker services
run: docker compose up --no-deps api worker postgres_db temporal_elasticsearch temporal -d
run: docker compose up --no-deps api worker postgres_db temporal -d

- name: Verify Tracecat API is running
run: curl -s http://localhost:8000/health | jq -e '.status == "ok"'
Expand Down
24 changes: 0 additions & 24 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,25 +108,6 @@ services:
volumes:
- temporal-db:/var/lib/postgresql/data

temporal_elasticsearch:
container_name: tracecat_temporal_elasticsearch
environment:
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.low=512mb
- cluster.routing.allocation.disk.watermark.high=256mb
- cluster.routing.allocation.disk.watermark.flood_stage=128mb
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms256m -Xmx256m
- xpack.security.enabled=false
- logger.level=WARN
image: elasticsearch:${TEMPORAL__ELASTICSEARCH_VERSION}
networks:
- temporal
volumes:
- temporal-elasticsearch:/var/lib/elasticsearch/data
expose:
- 9200

temporal_ui:
image: temporalio/ui:${TEMPORAL__UI_VERSION}
container_name: tracecat_temporal_ui
Expand All @@ -135,7 +116,6 @@ services:
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
depends_on:
- temporal
- temporal_elasticsearch
networks:
- temporal
ports:
Expand All @@ -150,9 +130,6 @@ services:
- POSTGRES_USER=${TEMPORAL__POSTGRES_USER}
- POSTGRES_PWD=${TEMPORAL__POSTGRES_PASSWORD}
- POSTGRES_SEEDS=temporal_postgres_db
- ENABLE_ES=true
- ES_SEEDS=temporal_elasticsearch
- ES_VERSION=v7
- LOG_LEVEL=warn
ports:
- 7233:7233
Expand All @@ -169,4 +146,3 @@ volumes:
core-app:
core-db:
temporal-db:
temporal-elasticsearch:

0 comments on commit 3a2af30

Please sign in to comment.