update readme for docker-all-in-one
@@ -87,34 +87,8 @@ Make sure to run :code:`bgmi upgrade` after you upgrade your bgmi
======
Docker
======
-Build Docker:
-.. code-block:: bash
-
- git clone https://github.com/BGmi/BGmi
- cd BGmi
- docker build -t bgmi .
- docker run -p127.0.0.1:8888:80 -p6800:6800 -d -v $HOME/.bgmi:$HOME/.bgmi bgmi
-
-You can use bgmi command at host to add / remove bangumi, or get into the docker container to manage bangumi.
-
-Or just:
-
-.. code-block:: bash
-
- docker pull ricterz/bgmi
- docker run -p127.0.0.1:8888:80 -p6800:6800 -d -v $HOME/.bgmi:$HOME/.bgmi ricterz/bgmi
-
-Configure BGmi docker:
-
-.. code-block:: bash
-
- # bgmi config ARIA2_RPC_TOKEN token:TOKEN_OF_ARIA2_RPC
- # docker exec -it <CONTAINER ID> ln -s ~/.bgmi/ /bgmi
- # docker exec -it <CONTAINER ID> bash -c 'echo rpc-secret=TOKEN_OF_ARIA2_RPC >> /root/aria2c.conf'
- # docker exec -it <CONTAINER ID> supervisorctl
- supervisor> restart bgmi:aria2c
- supervisor> quit
+go to `BGmi/bgmi-docker-all-in-one <https://github.com/BGmi/bgmi-docker-all-in-one>`_
=============
Usage of bgmi
