dev-pledge/sentry
Composer 安装命令:
composer require dev-pledge/sentry
包简介
Docker Compose Sentry For Use with NGINX
README 文档
README
Install the Application
You will need Docker and Composer installed on your machine.
You will need another Docker container running NGINX to route your DNS to this install.
Run this command from the directory in which you want to install your new Sentry Installation.
composer create-project dev-pledge/sentry [my-app-name]
Replace [my-app-name] with the desired directory name for your new application.
To set up sentry
make up
wait for containers to be made
make stop
make install
As the install runs you will need to create your email and passwords credentials - the install script will ask for them.
To run the application in development, you can also run either of these command.
make up
or if containers are already running
make start
you can now reference the docker external network 'global_sentry' and the service 'sentry:9000' in your other docker containers
my-great-app:
networks:
- default
- sentry_network
networks:
sentry_network:
external:
name: global_sentry
You can also set up email notifications. Add these environment variables to each docker-compose.yml service environment sections.
SENTRY_SERVER_EMAIL="sentry@my.domain"
SENTRY_EMAIL_HOST="smtp.mailgun.org"
SENTRY_EMAIL_PORT="587"
SENTRY_EMAIL_USER="postmaster@my.domain"
SENTRY_EMAIL_PASSWORD="pass"
SENTRY_EMAIL_USE_TLS="true"
SENTRY_SECRET_KEY="some_key"
Have fun its very useful once setup - the whole setup should take no longer than 20 minutes at most. 5 mins if your really quick!
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-20