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>
environments/review-docs-docs-mup14p/deployments/16950
Philipp Wolfer 2023-01-20 13:35:13 +01:00 zatwierdzone przez Marge
rodzic 84990e9d67
commit 097f803fab
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -0,0 +1 @@
Docker setup: do not export the API port 5000 publicly

Wyświetl plik

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