Files
tauri-search/docker-compose.yml
Ken Snyder 50e1819977 FIrst Pass on the new Tauri Search (#1)
* chore: model config API accepts mappers but API still needs finishing

* refactor: moved files into better directory structure, simplified TS parse, added MD parse

* chore: reduced number of mappers needed and removed the createMapper abstraction

* chore: added "refresh-prose" CLI command to build AST and ProseModel cache

* chore: better CLI message for refresh-prose when no changes are detected

* chore: refreshProse CLI and tests complete

chore: refreshRepos started

* chore: finished refreshRepos() functionality

* chore: all pipelines -- outside of Rust API -- are in place and playground starting to be useful in analyizing index characteristics

* chore: added link tests

* chore: de-lint

* docs: cleaned up playground and mildly improved ux

* feature: calling a model's createIndex also configures the index per the Model's specification

* chore: updated docs links in README for docs package

* chore(docs): de-linted Vue files to follow linting rules

* chore(docs): 2nd round of de-linting once React type bleed-in was removed

* chore(docs): styling adjustment to inline code blocks

* chore: moved to forked version of simple-markdown which doesn't pollute namespace

chore: forked markdown-it-collapsible and then upgraded it ... now released as markdown-it-expandable

* docs: small updates to help with ENV variables and docker compose

chore: made sure that push-caches CLI creates the indexes before pushing docs (so that Model's config is used)

* chore: fixed "into" docker scripts

* chore: added CLI commands for creating and dropping indexes

* fix: added appropriate await for dropping indexes

* fix: fixed CLI to drop indexes (really this time)

* chore: tuned properties of "consolidated" index to be more inline with current search

* chore: remove unwanted cache files and make those which have merit binary files

* chore: created placeholder files for github actions

refactor: refactored all CLI and pipeline code to be more consistent and use better abstraction

feature: added the ability to configure ranking properties in a model

refactor: reduced the number of cache files and removed those unnecessary for delta updates from git

* fix: exclude JS API docs from prose docs

* test: fixed tests to adjust to external changes in documentation as well as earlier caching refactor

* chore: remove temp file vite.config.ts.js from repo

* refactor: made createModel return a function that returns ISearchModel; allowing stage based offsets in Meili API

* refactor: adjusted both CJS and ESM code to be able to interact better WRT to stage

* chore: increased patterns to exclude ENV files

* fix: fixed typo in docker-compose

chore: starting github actions with build, lint, and test

* chore: take 1 on a build action

* chore: take 2 on test action

* chore: composite action's must be called action.yml

* chore: added full-update action

* Feature/action jackson (#2)

* chore: checking whether full relative path works

* chore: add stage input to full-update

* chore: moved prep action into actions folder

* chore: checkout in action as well as workflow

* chore: no name for checkout

* fix: added checkout to test workflow

* chore: trying actions/prep/action.yml path

* chore: added namespace for setup-node

* chore: added "shell" for CLI commands

* chore: install tauri-repo deps as separate step

* chore: use pnpm's action

* chore: added pnpm version number

* chore: disable cache for now

* added some more inputs

* chore: remove recursive flag in pnpm action

* added ENV specific scripts for full update

* chore: move MEILI keys to be stage specific

* chore: add secrets to ENV in update

* fix: add defensive code to ESM version of getEnv()

* fix: more defence with getEnv()

* chore: getEnv is defensive as hell :)

* chore: another attempt at avoiding getEnv error

* chore: picking up secrets in a differnt bucket

* chore: full-update includes GH_ secrets

* chore: wire up all inputs to ENV variables

* chore: removed refs to feature branch with TS AST

chore: added `anchor` property to consolidated index for consistency sake

* chore: remove heirarchy_radio_lvl props to improve interaction with searchbar

chore: updated deps

* fix: moved no-new-privileges setting in docker-compose back to correct settign

* chore: improvements to Prose and Consolidated model

* chore: updated deps and caches
2022-02-14 12:50:19 -08:00

31 lines
687 B
YAML

services:
# We are not using the scraper for anything currently but keeping it here
# for now in case we decide to
scraper:
image: getmeili/docs-scraper:latest
container_name: scraper
command: "pipenv run docs_scraper config.json -vv -d"
depends_on:
- search
environment:
- MEILISEARCH_HOST_URL=localhost:7700
- MEILISEARCH_API_KEY=""
volumes:
- ./scraper:/docs-scraper
search:
image: getmeili/meilisearch:latest
container_name: search
ports:
- 7700:7700
- 2222:22
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- search_db:/home/db
volumes:
search_db: