diff --git a/.ci/docker-compose.yml b/.ci/docker-compose.yml index b2ca46f8..19985cf8 100644 --- a/.ci/docker-compose.yml +++ b/.ci/docker-compose.yml @@ -4,7 +4,7 @@ services: context: ./../src dockerfile: Dockerfile.test target: test - env_file: ./../src/development.env + env_file: ./../src/test.env command: bash -c "python -c 'import time'; while ! curl store:9200 | grep -q 'You Know, for Search' && ! curl queue:15672 | grep -q ''; diff --git a/.gitignore b/.gitignore index 07f0742c..d970ef2f 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,7 @@ celerybeat-schedule .env .env.local *.env +!test.env # virtualenv .venv/ diff --git a/src/test.env b/src/test.env new file mode 100644 index 00000000..e0b43acf --- /dev/null +++ b/src/test.env @@ -0,0 +1,7 @@ +MQ_USERNAME=admin +MQ_PASSWORD=Admin123 +MQ_HOST=rabbitmq +ES_HOST=es +ES_IMG_INDEX=imgsearch +ES_TXT_INDEX=txtsearch +ES_VID_INDEX=vidsearch