Add a readiness probe for the Funkwhale container

This commit is contained in:
Alexander "Ace" Olofsson 2019-07-08 23:07:51 +02:00
parent e452d21d3b
commit 0c193ff1d1
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -44,6 +44,11 @@ spec:
sed -e 's!0.0.0.0:5000!unix:/run/funkwhale/funkwhale.sock!' -i compose/django/server.sh
compose/django/entrypoint.sh compose/django/server.sh
fi
readinessProbe:
exec:
command:
- stat
- /run/funkwhale/funkwhale.sock
envFrom:
- configMapRef:
name: {{ include "funkwhale.fullname" . }}