mirror of
https://github.com/bitnami/containers.git
synced 2026-02-26 07:37:24 +08:00
Merge pull request #19 from sameersbn/fixes
expose smtpEmail argument and document `JASPERREPORTS_EMAIL` parameter
This commit is contained in:
@@ -3,7 +3,7 @@ FROM gcr.io/stacksmith-images/minideb:jessie-r5
|
||||
MAINTAINER Bitnami <containers@bitnami.com>
|
||||
|
||||
ENV BITNAMI_APP_NAME=jasperreports \
|
||||
BITNAMI_IMAGE_VERSION=6.3.0-r4 \
|
||||
BITNAMI_IMAGE_VERSION=6.3.0-r5 \
|
||||
PATH=/opt/bitnami/tomcat/bin:/opt/bitnami/mysql/bin/:$PATH
|
||||
|
||||
# System packages required
|
||||
|
||||
@@ -185,12 +185,14 @@ Available variables:
|
||||
|
||||
- `JASPERREPORTS_USERNAME`: JasperReports admin username. Default: **user**
|
||||
- `JASPERREPORTS_PASSWORD`: JasperReports admin password. Default: **bitnami**
|
||||
- `JASPERREPORTS_EMAIL`: JasperReports admin email. Default: **user@example.com**
|
||||
|
||||
### SMTP Configuration
|
||||
|
||||
To configure JasperReports to send email using SMTP you can set the following environment variables:
|
||||
- `SMTP_HOST`: SMTP host.
|
||||
- `SMTP_PORT`: SMTP port.
|
||||
- `SMTP_EMAIL`: SMTP email.
|
||||
- `SMTP_USER`: SMTP account user.
|
||||
- `SMTP_PASSWORD`: SMTP account password.
|
||||
- `SMTP_PROTOCOL`: SMTP protocol.
|
||||
@@ -207,6 +209,7 @@ This would be an example of SMTP configuration using a GMail account:
|
||||
environment:
|
||||
- SMTP_HOST=smtp.gmail.com
|
||||
- SMTP_PORT=587
|
||||
- SMTP_EMAIL=your_email@gmail.com
|
||||
- SMTP_USER=your_email@gmail.com
|
||||
- SMTP_PASSWORD=your_password
|
||||
volumes_from:
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"databaseServerPort": "{{$global.env.MARIADB_PORT}}",
|
||||
"smtpHost": "{{$global.env.SMTP_HOST}}",
|
||||
"smtpPort": "{{$global.env.SMTP_PORT}}",
|
||||
"smtpEmail": "{{$global.env.SMTP_EMAIL}}",
|
||||
"smtpUser": "{{$global.env.SMTP_USER}}",
|
||||
"smtpPassword": "{{$global.env.SMTP_PASSWORD}}",
|
||||
"smtpProtocol": "{{$global.env.SMTP_PROTOCOL}}"
|
||||
|
||||
Reference in New Issue
Block a user