Robinyo / js-docker

Container deployment of TIBCO JasperReports Server Community Edition
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link
docker docker-compose docker-image jasperreports pgadmin postgresql

Introduction

This repository is a fork of the js-docker repository that has been updated to include support for building, configuring, and running PostgreSQL, pgAdmin and TIBCO JasperReports Server Community Edition in containers.

Prerequisites

Clone the project

Change the current working directory to the location where you want the cloned directory to be:

cd ~/workspace

Clone the project by running the following command:

git clone https://github.com/Robinyo/js-docker
cd js-docker

Download the Community Edition of JasperReports Server and place it in the resources directory.

Unpack the zip archive:

# chmod 755 unpackWARInstaller-ce.sh
./unpackWARInstaller-ce.sh

Download the Linux 64-bit version of PhantomJS and place it in the resources directory.

Download the PostgreSQL JDBC driver and place it in the resources directory.

Build the project

To build the project:

docker-compose build

Serve the applications

To run a multi-container application with the Docker CLI, you use the docker-compose up command. This command uses the project's docker-compose.yml file to deploy a multi-container application:

docker-compose up -d

Note: The PostgreSQL, pgAdmin and JasperReports Server containers may take a minute or two to startup.

Navigate to the JasperReports Server Community Edition welcome page: http://localhost:11001/jasperserver

You can login using the following credentials:

You can check the status of the containers using the following command:

docker-compose ps

To check the logs inside a container:

docker container logs postgres
docker container logs pgadmin
docker container logs jasperreports-server
docker container logs jasperreports-server-cmdline

You can stop the containers using the following command:

docker-compose down -v