Run update.sh
This commit is contained in:
parent
619c9e88d9
commit
25ee6a4d14
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -54,17 +54,21 @@ $ docker run --name some-wordpress -e WORDPRESS_DB_HOST=10.1.2.3:3306 \
|
|||
Example `docker-compose.yml` for `wordpress`:
|
||||
|
||||
```yaml
|
||||
wordpress:
|
||||
image: wordpress
|
||||
links:
|
||||
- db:mysql
|
||||
ports:
|
||||
- 8080:80
|
||||
version: '2'
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
services:
|
||||
|
||||
wordpress:
|
||||
image: wordpress
|
||||
ports:
|
||||
- 8080:80
|
||||
environment:
|
||||
WORDPRESS_DB_PASSWORD: example
|
||||
|
||||
mysql:
|
||||
image: mariadb
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
```
|
||||
|
||||
Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue