Update deployment guide

This commit is contained in:
Birkhoff Lee 2020-07-28 02:05:27 +08:00 committed by GitHub
parent 21d0874316
commit 1555d435f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,14 +12,17 @@ You have to manually install Docker first if you don't have it installed on your
You will need to install [Docker Compose](https://docs.docker.com/compose/) for automated deploying. You will need to install [Docker Compose](https://docs.docker.com/compose/) for automated deploying.
```bash ```shell
sudo apt install docker-compose $ apt install docker-compose # debian
``` ```
Download the example file, optionally change the directories, passwords, etc. then run it with Download the example file, optionally change the directories, passwords, etc. then run it
```bash ```shell
docker-compose up -d $ git clone https://github.com/NamelessMC/Nameless-Docker.git
$ cd Nameless-Docker
$ vim docker-compose.dev.yaml
$ docker-compose up -d
``` ```
When the containers are up, visit the website in a browser to start the installer. By default it listens on any interface, port 80. When the containers are up, visit the website in a browser to start the installer. By default it listens on any interface, port 80.