feat: fulltext search with meillisearch; deploy in devenv & CI; index product #56

Merged
realaravinth merged 3 commits from fts into master 2024-07-17 20:34:24 +05:30
2 changed files with 18 additions and 1 deletions
Showing only changes of commit c569487ee3 - Show all commits

View file

@ -7,6 +7,8 @@ steps:
- DATABASE_URL=postgres://postgres:password@database:5432/postgres - DATABASE_URL=postgres://postgres:password@database:5432/postgres
- VANIKAM_email_URL=smtp://admin:password@email:10025 - VANIKAM_email_URL=smtp://admin:password@email:10025
- MAILDEV_URL=http://email:1080 - MAILDEV_URL=http://email:1080
- VANIKAM_meili_API_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d
- VANIKAM_meili_url=http://meiliserach:7700
commands: commands:
# - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\ # - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
# - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget # - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
@ -29,7 +31,8 @@ steps:
settings: settings:
dry_run: true dry_run: true
repo: libresolutions/vanikam repo: libresolutions/vanikam
tags: latest tags:
latest
# build_and_publish_docker_img: # build_and_publish_docker_img:
# image: plugins/docker # image: plugins/docker
@ -77,3 +80,9 @@ services:
- MAILDEV_SMTP_PORT=10025 - MAILDEV_SMTP_PORT=10025
- MAILDEV_INCOMING_USER=admin - MAILDEV_INCOMING_USER=admin
- MAILDEV_INCOMING_PASS=password - MAILDEV_INCOMING_PASS=password
meiliserach:
image: getmeili/meilisearch:v1.9
environment:
- MEILI_ENV=development
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d

View file

@ -16,3 +16,11 @@ services:
network_mode: host network_mode: host
environment: environment:
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password
meiliserach:
image: getmeili/meilisearch:v1.9
ports:
- 7700:7700
environment:
- MEILI_ENV=development
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d