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

merge-requests/154/head
Eliot Berriot 2017-06-28 20:30:52 +02:00
rodzic 38f22dab94
commit cfacd9f770
3 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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