Skip to content

This repository contains the necessary files do deploy an Eclipse Dirigible instance with Postgresql using Docker Compose.

Notifications You must be signed in to change notification settings

dcna-dev/dirigible-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dirigible-docker

This repository contains the necessary files to deploy an Eclipse Dirigible instance with Postgresql using Docker Compose.

From the official website, Eclipse Dirigible is:

Eclipse Dirigible provides capabilities for end-to-end development process from database modeling and management, through RESTful services authoring using various dynamic languages, to pattern-based user interface generation, role based security, external services integration, testing, debugging, operations, and monitoring.

This configuration follows the official documentation to deploy with Tomcat (https://www.dirigible.io/help/setup_tomcat.html) and Postgres (https://www.dirigible.io/help/setup_tomcat_postgresql.html). A custom pom.xml is used to generate only the target server-all and build a smaller image. Despite that, the resulted image is almost 670MB size. To achieve an even smaller image, the Docker Multistage Build is used to generate a final image with 165MB and only what is necessary to deploy the system.

To deploy Dirigible with Postgres as database using docker-compose, follow these instructions:

  1. Clone this repo: git clone https://github.com/dcna-io/dirigible-docker.git
  2. Modify the environment file (.env) to configure the database access.
  3. Modify the dirigible/tomcat_users.xml to configure users and passwords.
  4. Run docker-compose up

5 Access https://localhost:8080

To deploy the Eclipse Dirigible in Google Kubernetes Engine

  1. Clone this repo: git clone https://github.com/dcna-io/dirigible-docker.git
  2. Export an env variable with the path to your GCP credentials: export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials.json
  3. Export an env variable with GCP project ID: export PROJECT_ID="$(gcloud config get-value project -q)"
  4. Build the docker image: docker build -t gcr.io/${PROJECT_ID}/dirigible ./dirigible
  5. Configure docker to log in Google Cloud Registry cat $GOOGLE_APPLICATION_CREDENTIALS | docker login -u \_json_key --password-stdin https://gcr.io
  6. Push the created image to GCP registry: docker push gcr.io/${PROJECT_ID}/dirigible
  7. Go to cloud/dev/ and edit the variables in all .tfvars files
  8. Execute terragrunt apply-all
  9. Access the Dirigible app using the IP address shown at the end of execution

About

This repository contains the necessary files do deploy an Eclipse Dirigible instance with Postgresql using Docker Compose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published