# js-docker **Repository Path**: yongk/js-docker ## Basic Information - **Project Name**: js-docker - **Description**: Speed up https://github.com/Robinyo/js-docker - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-17 - **Last Updated**: 2024-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Introduction This repository is a fork of the [js-docker](https://github.com/TIBCOSoftware/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 - [Docker Desktop](https://www.docker.com/products/docker-desktop) # 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](https://community.jaspersoft.com/project/jasperreports-server/releases) 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](https://phantomjs.org/download.html) the Linux 64-bit version of PhantomJS and place it in the `resources` directory. [Download](https://jdbc.postgresql.org/download.html) 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](https://github.com/Robinyo/js-docker/blob/master/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: * JasperReports Admin User - User ID: `jasperadmin` and Password: `jasperadmin` * Sample User - User ID: `joeuser` and Password: `joeuser`