Browse Source

peertube: put all SMTP conf into .env

Guilhem Saurel 6 years ago
parent
commit
5cd4cc8610
2 changed files with 3 additions and 3 deletions
  1. 3 0
      peertube/README.md
  2. 0 3
      peertube/docker-compose.yml

+ 3 - 0
peertube/README.md

@@ -21,6 +21,9 @@ echo PEERTUBE_SMTP_PASSWORD=null >> .env
 echo PEERTUBE_SMTP_HOSTNAME=null >> .env
 echo PEERTUBE_SMTP_PORT=465 >> .env
 echo PEERTUBE_SMTP_TLS=true >> .env
+echo PEERTUBE_SMTP_USERNAME=peertube@${CHATONS_DOMAIN:-local} >> .env
+echo PEERTUBE_SMTP_FROM=peertube@${CHATONS_DOMAIN:-local} >> .env
+echo PEERTUBE_ADMIN_EMAIL=peertube@${CHATONS_DOMAIN:-local} >> .env
 ```
 
 ## Deploy

+ 0 - 3
peertube/docker-compose.yml

@@ -12,9 +12,6 @@ services:
       - .env
     environment:
       - PEERTUBE_WEBSERVER_HOSTNAME=peertube.${CHATONS_DOMAIN:-local}
-      - PEERTUBE_SMTP_USERNAME=peertube@${CHATONS_DOMAIN:-local}
-      - PEERTUBE_SMTP_FROM=peertube@${CHATONS_DOMAIN:-local}
-      - PEERTUBE_ADMIN_EMAIL=peertube@${CHATONS_DOMAIN:-local}
     labels:
       traefik.enable: "true"
       traefik.frontend.rule: "Host: peertube.${CHATONS_DOMAIN:-local}, www.peertube.${CHATONS_DOMAIN:-local}"