Browse Source

email configuration

Guilhem Saurel 7 years ago
parent
commit
59e9168549
2 changed files with 6 additions and 0 deletions
  1. 5 0
      README.md
  2. 1 0
      docker-compose.yml

+ 5 - 0
README.md

@@ -5,6 +5,11 @@ You need a [traefik](https://traefik.io/) instance first, like https://github.co
 ```bash
 ```bash
 echo SENTRY_SECRET_KEY=$(openssl rand -base64 32) >> .env
 echo SENTRY_SECRET_KEY=$(openssl rand -base64 32) >> .env
 echo DOMAIN_NAME=$YOUR_FQDN> >> .env
 echo DOMAIN_NAME=$YOUR_FQDN> >> .env
+echo SENTRY_EMAIL_HOST= >> .env
+echo SENTRY_EMAIL_PORT= >> .env
+echo SENTRY_EMAIL_USER= >> .env
+echo SENTRY_EMAIL_PASSWORD= >> .env
+echo SENTRY_EMAIL_USE_TLS= >> .env
 ```
 ```
 
 
 ```bash
 ```bash

+ 1 - 0
docker-compose.yml

@@ -27,6 +27,7 @@ services:
     environment:
     environment:
       - SENTRY_REDIS_HOST=redis
       - SENTRY_REDIS_HOST=redis
       - SENTRY_POSTGRES_HOST=postgres
       - SENTRY_POSTGRES_HOST=postgres
+      - SENTRY_SERVER_EMAIL=sentry@${DOMAIN_NAME}
   cron:
   cron:
     command: "sentry run cron"
     command: "sentry run cron"
     image: sentry
     image: sentry