Updated sample nginx, docker-compose.yml and documentation to match easier setup for front-end files

This commit is contained in:
Eliot Berriot 2017-06-28 20:30:52 +02:00
parent 38f22dab94
commit cfacd9f770
3 changed files with 7 additions and 1 deletions

View File

@ -46,6 +46,7 @@ services:
- ./data/music:/music:ro
- ./data/media:/app/funkwhale_api/media
- ./data/static:/app/staticfiles
- ./front/dist:/frontend
ports:
- "${FUNKWHALE_API_IP:-127.0.0.1}:${FUNKWHALE_API_PORT:-5000}:5000"
links:

View File

@ -46,7 +46,7 @@ Then launch the whole thing:
docker-compose up -d
Now, you just need to setup the :ref:`frontend files <frontend-setup>`, and configure your :ref:`reverse-proxy <reverse-proxy-setup>`. Don't worry, it's quite easy.
Now, you just need to configure your :ref:`reverse-proxy <reverse-proxy-setup>`. Don't worry, it's quite easy.
About music acquisition
-----------------------

View File

@ -26,6 +26,11 @@ Available installation methods
Frontend setup
---------------
.. note::
You do not need to do this if you are deploying using Docker, as frontend files
are already included in the funkwhale docker image.
Files for the web frontend are purely static and can simply be downloaded, unzipped and served from any webserver:
.. code-block:: bash