From 43738ff0aa24e88fcec0fac1173685ad87762bc8 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Mon, 17 Feb 2020 17:28:09 -0500 Subject: [PATCH] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4308fae..6395d68 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,11 @@ Mango is a self-hosted manga server and reader. Its features include ### Docker -1. Make sure you have docker installed and running +1. Make sure you have docker installed and running. You will also need `docker-compose` 2. Clone the repository -3. `docker build -t mango:mango .` -4. `docker run -td --name mango -p 9000:9000 -v /path/to/your/mango/library:/root/mango/library mango:mango` -5. or you can directly run it with `docker-compose up` (You should create your own docker-compose.yml configuration file before running it) -6. Now the docker container is up and running. You can visit at `http://127.0.0.1:9000`. +3. Copy `docker-compose.example.yml` to `docker-compose.yml` and modify it if necessary +4. Run `docker-compose up`. This should build the docker image and start the container with Mango running inside + ### Build from source