diff --git a/charts/funkwhale/Chart.yaml b/charts/funkwhale/Chart.yaml index 563a208..e7279f9 100644 --- a/charts/funkwhale/Chart.yaml +++ b/charts/funkwhale/Chart.yaml @@ -4,4 +4,4 @@ appVersion: "0.20.0" description: A social platform to enjoy and share music icon: https://funkwhale.audio/favicon.png name: funkwhale -version: 0.2.5 +version: 0.2.6 diff --git a/charts/funkwhale/templates/deployment.yaml b/charts/funkwhale/templates/deployment.yaml index 563adc1..51c8e04 100644 --- a/charts/funkwhale/templates/deployment.yaml +++ b/charts/funkwhale/templates/deployment.yaml @@ -36,7 +36,10 @@ spec: # Copy frontend files for the front pod cp -r frontend/* /srv/funkwhale/frontend/ - # Ensure the server binds to a unix socket + # Apply any waiting migrations + /app/manage.py migrate + + # Make the server bind to a unix socket if [ -e compose/django/daphne.sh ]; then sed -e 's!-b 0.0.0.0 -p 5000!-u /run/funkwhale/funkwhale.sock!' -i compose/django/daphne.sh compose/django/entrypoint.sh compose/django/daphne.sh