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. 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: 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 ```bash
$ docker-compose down $ 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: Assuming your data directory is `/opt/trains`, to archive all data into `~/trains_backup.tgz` execute:
@ -226,16 +226,16 @@ $ docker-compose down
``` ```
</details> </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 ```bash
$ curl https://raw.githubusercontent.com/allegroai/trains-server/master/docker-compose.yml -o docker-compose.yml $ 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 ```bash
$ docker-compose up -f docker-compose.yml $ docker-compose up -f docker-compose.yml
``` ```
**\* If something went wrong along the way, check our FAQ: [Docker Upgrade](docs/docker_setup.md#common-docker-upgrade-errors)** **\* If something went wrong along the way, check our FAQ: [Docker Upgrade](docs/docker_setup.md#common-docker-upgrade-errors)**