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:
parent
84990e9d67
commit
097f803fab
|
@ -0,0 +1 @@
|
|||
Docker setup: do not export the API port 5000 publicly
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue