Update README.md

This commit is contained in:
Allegro AI 2019-11-10 00:18:16 +02:00 committed by GitHub
parent 67c210d9d7
commit a08722e394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,12 +203,12 @@ We are constantly updating, improving and adding to the **trains-server**.
New releases will include new pre-built Docker images.
When we release a new version and include a new pre-built Docker image for it, upgrade as follows:
* Shut down the docker containers
1. Shut down the docker containers
```bash
$ docker-compose down
```
* We highly recommend backing up your data directory before upgrading.
1. We highly recommend backing up your data directory before upgrading.
Assuming your data directory is `/opt/trains`, to archive all data into `~/trains_backup.tgz` execute:
@ -226,13 +226,13 @@ $ docker-compose down
```
</details>
* Download the latest `docker-compose.yml` file, either [manually](https://raw.githubusercontent.com/allegroai/trains-server/master/docker-compose.yml) or execute:
1. Download the latest `docker-compose.yml` file, either [manually](https://raw.githubusercontent.com/allegroai/trains-server/master/docker-compose.yml) or execute:
```bash
$ curl https://raw.githubusercontent.com/allegroai/trains-server/master/docker-compose.yml -o docker-compose.yml
```
* Spin up the docker containers, it will automatically pull the latest trains-server build
1. Spin up the docker containers, it will automatically pull the latest trains-server build
```bash
$ docker-compose up -f docker-compose.yml
```