Run update.sh

This commit is contained in:
Docker Library Bot 2016-07-06 14:46:32 -07:00
parent 619c9e88d9
commit 25ee6a4d14
2 changed files with 16 additions and 12 deletions

View File

@ -38,7 +38,7 @@ Sentry is a realtime event logging and aggregation platform. It specializes in m
3. Generate a new secret key to be shared by all `sentry` containers. This value will then be used as the `SENTRY_SECRET_KEY` environment variable.
```console
$ docker run --rm sentry generate-secret-key
$ docker run --rm sentry config generate-secret-key
```
4. If this is a new database, you'll need to run `upgrade`
@ -83,7 +83,7 @@ When you start the `sentry` image, you can adjust the configuration of the Sentr
A secret key used for cryptographic functions within Sentry. This key should be unique and consistent across all running instances. You can generate a new secret key doing something like:
```console
$ docker run --rm sentry generate-secret-key
$ docker run --rm sentry config generate-secret-key
```
### `SENTRY_POSTGRES_HOST`, `SENTRY_POSTGRES_PORT`, `SENTRY_DB_NAME`, `SENTRY_DB_USER`, `SENTRY_DB_PASSWORD`

View File

@ -54,14 +54,18 @@ $ docker run --name some-wordpress -e WORDPRESS_DB_HOST=10.1.2.3:3306 \
Example `docker-compose.yml` for `wordpress`:
```yaml
wordpress:
version: '2'
services:
wordpress:
image: wordpress
links:
- db:mysql
ports:
- 8080:80
environment:
WORDPRESS_DB_PASSWORD: example
db:
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example