From a524b1ac70f729932b6d7f7bfeeb0a1c92638a16 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Thu, 13 Apr 2017 20:45:33 +0200 Subject: [PATCH] Fix order of docker-compose commands to prevent "no such database" errors --- README.md | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de07919..4b6e029 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ Required: ```bash $ wget https://raw.githubusercontent.com/asciinema/asciinema.org/master/docker-compose.yml -$ docker-compose up -d web $ docker-compose run --rm db_init +$ docker-compose up -d web ``` diff --git a/docker-compose.yml b/docker-compose.yml index 338192a..093d34c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ version: '2' # Quickstart: +# docker-compose run --rm -b_init # docker-compose up -d web -# docker-compose run --rm db_init # To cleanup: # docker-compose stop && docker-compose rm