Docker: Do not publicly expose API port

The default docker-setup exposes the API container directly on port 5000. This should not be the case and is not needed, as API access is all routed through the frontend nginx reverse proxy.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2324>
This commit is contained in:
Philipp Wolfer 2023-01-20 13:35:13 +01:00 committed by Marge
commit 097f803fab
2 changed files with 1 additions and 2 deletions

View file

@ -59,8 +59,6 @@ services:
- "${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:${MUSIC_DIRECTORY_PATH-/music}:ro"
- "${MEDIA_ROOT}:${MEDIA_ROOT}"
- "${STATIC_ROOT}:${STATIC_ROOT}"
ports:
- "5000"
front:
restart: unless-stopped