fix(api): Properly mount static files into the frontend container to serve them

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2301>
environments/review-docs-2005-xa45z5/deployments/16498
Georg Krause 2022-12-20 08:51:45 +01:00
rodzic 4aba907205
commit ef1392b831
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -81,7 +81,7 @@ services:
- "${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:${MUSIC_DIRECTORY_PATH-/music}:ro"
- "${MEDIA_ROOT}:${MEDIA_ROOT}:ro"
- "${STATIC_ROOT}:${STATIC_ROOT}:ro"
- "${STATIC_ROOT}:/usr/share/nginx/html/staticfiles:ro"
ports:
# override those variables in your .env file if needed
- "${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT}:80"