Skip to content

Add min_db: local CollectOSS-compatible postgres container for notebooks and dev - #1133

Closed
EngCaioFonseca wants to merge 7 commits into
devfrom
min_db
Closed

EngCaioFonseca wants to merge 7 commits into
devfrom
min_db

Conversation

@EngCaioFonseca

@EngCaioFonseca EngCaioFonseca commented May 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR creates a local min db for development with a small data dump from Augur, so it is possible to set up and test it with small effort.

Pull Request Change Description

Generative AI disclosure

Please select one option:

  • This contribution was NOT assisted or created by Generative AI tools.
  • This contribution was assisted or created by Generative AI tools.

If AI tools were used, please provide details below:
- What tools were used? Claude
- How were these tools used? Prototyping.
- Did you review these outputs before submitting this PR? Yes.

@EngCaioFonseca EngCaioFonseca self-assigned this May 3, 2026
@EngCaioFonseca EngCaioFonseca moved this from Backlog to In Progress in Aspen Project Board May 4, 2026

@MoralCode MoralCode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Per our maintainer sync:

  • We should publish this as an image and add image to the service so users dont need to build it themselves, especially if it requires a SQL file they dont have
  • can we name the folders/credentials something generic, like "sample_collected_data" and username/password?

@github-project-automation github-project-automation Bot moved this from In Progress to Testing | Waiting on PR response | Blocked in Aspen Project Board May 6, 2026
@MoralCode MoralCode changed the title Add min_db: local Augur-compatible postgres container for notebooks and dev Add min_db: local CollectOSS-compatible postgres container for notebooks and dev Jun 8, 2026

@MoralCode MoralCode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since this is a one-off, we can probably store the setup instructions outside the repo if we need them again (I hope to replace this with an automatic job that keeps the container updated).

Thats fairly minor though.

Have we confirmed the image works for data science usecases (notebooks) too?

--
-- Runs after 03_data.sql due to alphabetical init ordering.

ALTER SCHEMA augur_data RENAME TO collection_data;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Collrction_data is the old name

Its just data now

@EngCaioFonseca
EngCaioFonseca marked this pull request as ready for review June 16, 2026 13:57
@EngCaioFonseca

Copy link
Copy Markdown
Contributor Author

Podman container up and built tested.

Min_db working well.

Screenshot 2026-06-16 at 15 21 11

@MoralCode

Copy link
Copy Markdown
Contributor

docker pull ghcr.io/oss-aspen/sample-collected-data:latest published

@cdolfi

cdolfi commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

merged in collectoss chaoss/CollectOSS#444

@cdolfi cdolfi closed this Oct 9, 2026
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