Updated sample nginx, docker-compose.yml and documentation to match easier setup for front-end files
This commit is contained in:
parent
38f22dab94
commit
cfacd9f770
|
@ -46,6 +46,7 @@ services:
|
||||||
- ./data/music:/music:ro
|
- ./data/music:/music:ro
|
||||||
- ./data/media:/app/funkwhale_api/media
|
- ./data/media:/app/funkwhale_api/media
|
||||||
- ./data/static:/app/staticfiles
|
- ./data/static:/app/staticfiles
|
||||||
|
- ./front/dist:/frontend
|
||||||
ports:
|
ports:
|
||||||
- "${FUNKWHALE_API_IP:-127.0.0.1}:${FUNKWHALE_API_PORT:-5000}:5000"
|
- "${FUNKWHALE_API_IP:-127.0.0.1}:${FUNKWHALE_API_PORT:-5000}:5000"
|
||||||
links:
|
links:
|
||||||
|
|
|
@ -46,7 +46,7 @@ Then launch the whole thing:
|
||||||
|
|
||||||
docker-compose up -d
|
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
|
About music acquisition
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
|
@ -26,6 +26,11 @@ Available installation methods
|
||||||
Frontend setup
|
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:
|
Files for the web frontend are purely static and can simply be downloaded, unzipped and served from any webserver:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
Loading…
Reference in New Issue