Revert "Remove elasticsearch tests"

This reverts commit 0cd2f37908.
This commit is contained in:
KMY 2023-09-10 18:29:15 +09:00
parent ecb09443c9
commit 1883efbe39
2 changed files with 13 additions and 1 deletions

View file

@ -3,4 +3,3 @@ NODE_ENV=tests
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true
ES_PREFIX=test

View file

@ -282,6 +282,19 @@ jobs:
ports:
- 6379:6379
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.9
env:
discovery.type: single-node
xpack.security.enabled: false
options: >-
--health-cmd "curl http://localhost:9200/_cluster/health"
--health-interval 10s
--health-timeout 5s
--health-retries 10
ports:
- 9200:9200
env:
DB_HOST: localhost
DB_USER: postgres