Skip to content

Conversation

@jamesiarmes
Copy link
Member

@jamesiarmes jamesiarmes commented Sep 24, 2025

Given the changes to the Bitnami catalog, which prevents us from pinning the database container to a version, this also swaps out the database container for the official PostgreSQL one.

@jamesiarmes jamesiarmes requested a review from a team as a code owner September 24, 2025 19:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds Docker entrypoint functionality to enable initialization scripts for tools, allowing automated database setup and data source configuration when containers start.

  • Implements modular entrypoint system that executes initialization scripts from /entrypoint.d/
  • Adds database initialization and data source creation capabilities
  • Updates Docker configuration to use standard PostgreSQL image with proper environment variables

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docker/entrypoint.sh Main entrypoint script that executes initialization scripts and passes through commands
docker/entrypoint.d/datasource-init.sh Creates Senzing data sources based on SENZING_DATASOURCES environment variable
docker/entrypoint.d/database-init.sh Initializes PostgreSQL database with Senzing schema if not already present
docker-compose.yaml Updates to use standard postgres image and adds PostgreSQL connection environment variables
Dockerfile.tools Installs PostgreSQL client, copies entrypoint scripts, and sets up proper entrypoint

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jamesiarmes jamesiarmes requested a review from Copilot September 24, 2025 19:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@spompea-cfa spompea-cfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jamesiarmes jamesiarmes merged commit aa69031 into main Sep 24, 2025
9 checks passed
@jamesiarmes jamesiarmes deleted the tools-entrypoint branch September 24, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants