parent
625771ffdc
commit
7251b01430
1 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,7 @@ auth:
|
|||
command:
|
||||
- /bin/ash
|
||||
- -c
|
||||
- '/bin/meilisearch --import-dump "/var/lib/meili/dumps/${ls /var/lib/meili/dumps | sort -r | head -n 1}"'
|
||||
- '/bin/meilisearch --import-dump "/var/lib/meili/dumps/$(ls /var/lib/meili/dumps | sort -r | head -n 1)"'
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
|
@ -35,3 +35,7 @@ volumes:
|
|||
volumeMounts:
|
||||
- name: dumps
|
||||
mountPath: /var/lib/meili/dumps
|
||||
|
||||
startupProbe:
|
||||
periodSeconds: 5
|
||||
initialDelaySeconds: 15
|
||||
|
|
Loading…
Add table
Reference in a new issue