Fix order of docker-compose commands to prevent "no such database" errors

This commit is contained in:
Marcin Kulik 2017-04-13 20:45:33 +02:00
parent 9f511e30fa
commit a524b1ac70
2 changed files with 2 additions and 2 deletions

View File

@ -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
```

View File

@ -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