Skip to content

Latest commit

 

History

History
executable file
·
92 lines (71 loc) · 4.34 KB

README.md

File metadata and controls

executable file
·
92 lines (71 loc) · 4.34 KB

Managed by Monitoring Artist: DevOps / Docker / Kubernetes / AWS ECS / Zabbix / Zenoss / Terraform / Monitoring

Jasper Server

DockerHub pulls DockerHub stars

Dockerized TIBCO JasperReports Server Community Edition. Quick start:

# Start persistent container storage for database
docker run -d -v /var/lib/mysql --name jasperserver-db-storage busybox:latest

# Start database - MariaDB (note: no Zabbix data are included in the Docker image)
docker run \
    --name jasperserver-db \
    -v /etc/localtime:/etc/localtime:ro \
    --volumes-from jasperserver-db-storage \
    --env="MARIADB_USER=jasper" \
    --env="MARIADB_PASS=my_password" \
    -d monitoringartist/zabbix-db-mariadb:latest

# Start JasperServer    
docker run \
    --name jasperserver \
    -p 8080:8080 \
    -v /etc/localtime:/etc/localtime:ro \
    --link jasperserver-db:jasper.db \
    --env="JS_DB_HOST=jasper.db" \
    --env="JS_DB_USER=jasper" \
    --env="JS_DB_PASSWORD=my_password" \
    -d monitoringartist/jasperserver-xxl:latest

# Starting and autodeployment can take 5-7 minutes, be patient
# You can watch progres and issues in logs
docker logs -f jasperserver

JasperServer will be available on URL http://<YOUR DOCKER HOST IP>:8080/jasperserver. Default credentials jasperadmin/jasperadmin.

Please donate to author, so he can continue to publish other awesome projects for free:

Paypal donate button

Configuration

Create a user in your database. The container will create the database if it does not alrady exist. For PostgreSQL, the user must have the CREATEDB permission: ALTER USER jasper CREATEDB.

You can use environment variables to configure JasperServer container:

Environment variable Default value Note
JS_DB_TYPE mysql, postgres
JS_DB_HOST jasper.db
JS_DB_PORT mysql: 3306, postgres: 5432
JS_DB_USER jasper
JS_DB_PASSWORD my_password
JS_Xmx 512m
JS_MaxPermSize 256m
JS_CATALINA_OPTS -XX:+UseBiasedLocking -XX:BiasedLockingStartupDelay=0 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:+CMSParallelRemarkEnabled -XX:+UseCompressedOops -XX:+UseCMSInitiatingOccupancyOnly
JS_ENABLE_SAVE_TO_HOST_FS false This enable the scheduled reports to be saved in the host
JS_MAIL_HOST mail.example.com
JS_MAIL_PORT 25
JS_MAIL_PROTOCOL smtp
JS_MAIL_USERNAME admin
JS_MAIL_PASSWORD password
JS_MAIL_SENDER admin@example.com
JS_WEB_DEPLOYMENT_URI http://localhost:8080/jasperserver

Integrations

Author

Devops Monitoring Expert, who loves monitoring systems and cutting/bleeding edge technologies: Docker, Kubernetes, ECS, AWS, Google GCP, Terraform, Lambda, Zabbix, Grafana, Elasticsearch, Kibana, Prometheus, Sysdig, ...

Summary:

Professional devops / monitoring / consulting services:

Monitoring Artist