fix(forgejo): startup probe meilisearch

This commit is contained in:
Peter 2025-02-19 08:11:52 +01:00
parent 625771ffdc
commit 7251b01430
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -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