Skip to content

Commit

Permalink
Update docker documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pjezusek committed May 13, 2020
1 parent 8c15fcc commit 7215057
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/deployment/docker.md
Expand Up @@ -2,7 +2,7 @@

Errbit provides official [Docker](https://www.docker.com/) images to
make Docker deployment easy. You can pass all of [Errbit's
configuration](docs/configuration.md) to the Docker container using
configuration](/docs/configuration.md) to the Docker container using
`docker run -e`.

When running Errbit using `docker run` you must specify a MONGO_URL. If you're
Expand All @@ -12,7 +12,7 @@ RACK_ENV=production and SECRET_KEY_BASE=some-secret-key.
If you don't already have one, you can generate a suitable SECRET_KEY_BASE
with:
```bash
docker run --rm errbit/errbit rake secret
docker run --rm errbit/errbit bundle exec rake secret
```

## Standalone Errbit App
Expand All @@ -28,7 +28,7 @@ docker run \
errbit/errbit:latest
```

Now run `rake errbit:bootstrap` to bootstrap the Errbit db within an ephemeral
Now run `bundle exec rake errbit:bootstrap` to bootstrap the Errbit db within an ephemeral
Docker container:

```bash
Expand All @@ -37,7 +37,7 @@ docker run \
-e "RACK_ENV=production" \
-e "MONGO_URL=mongodb://my-mongo-host" \
errbit/errbit:latest \
rake errbit:bootstrap
bundle exec rake errbit:bootstrap
```

## Errbit + Dependencies via Docker Compose
Expand All @@ -49,9 +49,9 @@ Errbit application container and linking the two containers together:
docker-compose up -e "SECRET_KEY_BASE=my$ecre7key123"
```

Now run `rake errbit:bootstrap` to bootstrap the Errbit db within an ephemeral
Now run `bundle exec rake errbit:bootstrap` to bootstrap the Errbit db within an ephemeral
Docker container:

```bash
docker exec errbit_errbit_1 rake errbit:bootstrap
docker exec errbit_errbit_1 bundle exec rake errbit:bootstrap
```

0 comments on commit 7215057

Please sign in to comment.