kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fix #713: Added documentation on mono-container docker upgrade
rodzic
4e1de54a40
commit
102b2da34a
|
@ -0,0 +1 @@
|
||||||
|
Added documentation on mono-container docker upgrade (#713)
|
|
@ -36,6 +36,39 @@ Docker setup
|
||||||
If you've followed the setup instructions in :doc:`Docker`, upgrade path is
|
If you've followed the setup instructions in :doc:`Docker`, upgrade path is
|
||||||
easy:
|
easy:
|
||||||
|
|
||||||
|
Mono-container installation
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Basically, you need to pull the new container image, stop and delete your existing container,
|
||||||
|
and relaunch a new one:
|
||||||
|
|
||||||
|
.. parsed-literal::
|
||||||
|
export FUNKWHALE_VERSION="|version|"
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
docker pull funkwhale/all-in-one:$FUNKWHALE_VERSION
|
||||||
|
docker stop funkwhale
|
||||||
|
docker rm funkwhale
|
||||||
|
docker run \
|
||||||
|
--name=funkwhale \
|
||||||
|
--restart=unless-stopped \
|
||||||
|
--env-file=/srv/funkwhale/.env \
|
||||||
|
-v /srv/funkwhale/data:/data \
|
||||||
|
-v /path/to/your/music/dir:/music:ro \
|
||||||
|
-e PUID=$UID \
|
||||||
|
-e PGID=$GID \
|
||||||
|
-p 5000:80 \
|
||||||
|
-d \
|
||||||
|
funkwhale/all-in-one:$FUNKWHALE_VERSION
|
||||||
|
|
||||||
|
If you are not managing the container directly by hand, but use a third party tool such as Portainer,
|
||||||
|
instructions will vary, but, as a rule of thumb, pulling the new version of the image, and relaunch
|
||||||
|
a new container with the same arguments as the previous one (except for the image version) is enough.
|
||||||
|
|
||||||
|
Multi-container installation
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. parsed-literal::
|
.. parsed-literal::
|
||||||
|
|
||||||
cd /srv/funkwhale
|
cd /srv/funkwhale
|
||||||
|
|
Ładowanie…
Reference in New Issue