Skip to content

Commit

Permalink
smtp config
Browse files Browse the repository at this point in the history
  • Loading branch information
fsignorini committed Jun 12, 2018
1 parent 9f031bf commit 4c3fb52
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 5 additions & 3 deletions docs/installing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ Client App
docker run -p 80:80 -e "API_URL=http://localhost:8888" maestroserver/client-maestro
.. Warning::
PS: API_URL it's rest endpoint provide by server-app.
API_URL it's rest endpoint provide by server-app.
STATIC_URL it's endpoint for static files, if you use local upload type need to be {server-app-url}/static


**Env variables**
Expand All @@ -75,7 +76,7 @@ Client App
Env Variables Example Description
======================= ============================ ===============================
API_URL http://localhost:8888 Server App Url
STATIC_URL /upload/ Relative path of static content
STATIC_URL /static Relative path of static content
LOGO /static/imgs/logo300.png Logotype, (login page)
THEME theme-lotus Theme (gold|wine|blue|green|dark)
======================= ============================ ===============================
Expand Down Expand Up @@ -103,7 +104,8 @@ Server APP
docker run -p 8888:8888 -e "MAESTRO_MONGO_URI=mongodb/maestro-client" -e "MAESTRO_DISCOVERY_URI=http://discovery:5000" -e "MAESTRO_REPORT_URI=http://reports:5000" maestroserver/server-maestro
.. Warning::
PS: Must be mongodb, mongodb://{uri}/{db-name}
MAESTRO_MONGO_URI - Must be mongodb, mongodb://{uri}/{db-name}
SMTP_X - Used for reset emails and accounts, use valid SMTP server - `More details <http://docs.maestroserver.io/en/latest/userguide/cloud_inventory/smtp.html/>`_.

**Env variables**

Expand Down
10 changes: 6 additions & 4 deletions docs/userguide/cloud_inventory/smtp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Example
ports:
- "8888:8888"
environment:
- SMTP_PORT=1025
- SMTP_HOST=localhost
- SMTP_SENDER='maestroserver@maestro'
- SMTP_IGNORE=true
- SMTP_PORT=465
- SMTP_HOST=smtp.gmail.com
- SMTP_SENDER='mysender@gmail.com'
- SMTP_USERNAME=myusername
- SMTP_PASSWORD=mysecret
- SMTP_USETSL=true

0 comments on commit 4c3fb52

Please sign in to comment.