Fix Meilisearch / bump (#915)

* Fix Meilisearch params / volumes

* Snapshot Interval no longer an option

https://www.meilisearch.com/docs/learn/configuration/instance_options#schedule-snapshot-creation
This commit is contained in:
Slava Vishnyakov 2023-04-26 04:12:26 +03:00 committed by GitHub
parent 5eb85557c2
commit bba92dd0fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 9 deletions

View File

@ -6,6 +6,7 @@ services:
- $$cap_appname-data:/data.ms - $$cap_appname-data:/data.ms
- $$cap_appname-snapshot:/snapshot - $$cap_appname-snapshot:/snapshot
- $$cap_appname-dump:/dumps - $$cap_appname-dump:/dumps
- $$cap_appname-meili-data:/meili_data
restart: always restart: always
environment: environment:
MEILI_MASTER_KEY: $$cap_master_key MEILI_MASTER_KEY: $$cap_master_key
@ -25,7 +26,7 @@ caproverOneClickApp:
- id: $$cap_app_version - id: $$cap_app_version
label: MeiliSearch Version label: MeiliSearch Version
description: 'Check out their Docker page for the valid tags: https://hub.docker.com/r/getmeili/meilisearch/tags' description: 'Check out their Docker page for the valid tags: https://hub.docker.com/r/getmeili/meilisearch/tags'
defaultValue: 'v0.25.2' defaultValue: 'v1.1'
validRegex: /^([^\s^\/])+$/ validRegex: /^([^\s^\/])+$/
- id: $$cap_master_key - id: $$cap_master_key
label: MeiliSearch Master Key label: MeiliSearch Master Key
@ -64,14 +65,9 @@ caproverOneClickApp:
description: MeiliSearch use Sentry to get bug reports and diagnostics, and improve MeiliSearch experience. To deactivate Sentry, set this value to true. description: MeiliSearch use Sentry to get bug reports and diagnostics, and improve MeiliSearch experience. To deactivate Sentry, set this value to true.
- id: $$cap_schedule_snapshot - id: $$cap_schedule_snapshot
label: Schedule Snapshot Creation label: Schedule Snapshot Creation
defaultValue: 'false' defaultValue: ''
validRegex: /^(true|false)$/ validRegex: /^[\d.]*$/
description: To activate scheduled snapshots, set this value to true. Disabled by default. description: Defines the time gap in seconds between each snapshot creation in seconds. Disabled if empty.
- id: $$cap_snapshot_interval
label: Snapshot Interval
defaultValue: '86400'
validRegex: /^\d[\d.]*$/
description: Defines the time gap in seconds between each snapshot creation.
- id: $$cap_dump_batchsize - id: $$cap_dump_batchsize
label: Dump Batch Size label: Dump Batch Size
defaultValue: '1024' defaultValue: '1024'