Skip to content

Commit

Permalink
feat: add article search with meilisearch
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-chinour committed Oct 1, 2024
1 parent 7f3e1b3 commit 2e5f9ea
Show file tree
Hide file tree
Showing 21 changed files with 1,114 additions and 335 deletions.
12 changes: 12 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ services:
working_dir: /src
volumes: [ ".:/src" ]
profiles: [ cli ]

search:
container_name: blog.search
image: getmeili/meilisearch:v1.10
ports: [ "7700:7700" ]
volumes:
- meilisearch_data:/meili_data
environment:
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-!ChangeMe!}

volumes:
meilisearch_data:
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"ext-iconv": "*",
"ext-intl": "*",
"league/commonmark": "2.4.*",
"meilisearch/meilisearch-php": "^1.10",
"nyholm/psr7": "^1.0",
"symfony/config": "7.1.*",
"symfony/console": "7.1.*",
"symfony/dotenv": "7.1.*",
Expand Down
Loading

0 comments on commit 2e5f9ea

Please sign in to comment.