Skip to content

Add Docker deployment for KSDB#4

Open
yuliujpl wants to merge 2 commits into
masterfrom
docker_ksdb
Open

Add Docker deployment for KSDB#4
yuliujpl wants to merge 2 commits into
masterfrom
docker_ksdb

Conversation

@yuliujpl
Copy link
Copy Markdown
Collaborator

Dockerized KSDB

@nutjob4life
Copy link
Copy Markdown
Member

nutjob4life commented Apr 21, 2026

Thanks @yuliujpl … I need to be a reviewer, not an assignee 😉

I think I can fix that myself!

@nutjob4life nutjob4life self-requested a review April 21, 2026 19:46
@nutjob4life nutjob4life removed their assignment Apr 21, 2026
Copy link
Copy Markdown
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

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

Whew, this is a fabulous transformation! Thanks @yuliujpl.

Take a look at the review comments and feel free to ignore the ones that don't apply or are just me "thinking out loud". Consider the rest and push any changes you feel relevant. We'll then give it another go-around and then make it live on edrn-docker.

Comment thread Dockerfile
@@ -0,0 +1,23 @@
FROM python:3.7-slim-bullseye
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Python 3.7 is nearing end-of-life. Any chance this can run on a newer Python?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

no addressed yet

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@yuliujpl let's postpone this for now; in retrospect I'm thinking maybe we should just file this under a separate issue like "Modernize KSDB" and instead narrow the focus on making KSDB work in a Dockerized environment

Comment thread Dockerfile
Comment thread docker/entrypoint.sh Outdated
Comment thread ksdb/rdf_ingest_utils.py
Comment thread ksdb/rdf_ingest_utils.py
@@ -0,0 +1,30 @@
ALTER TABLE IF EXISTS protocol
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn't Django's "migrations" feature make "manual" .sql like this unneeded?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

not addressed yet

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@yuliujpl let's skip this for now (we can submit a separate ticket for "Modernize KSDB")

Comment thread ksdb/ksdbviews.py Outdated
Comment thread README.md Outdated
Comment thread README.md
python manage.py test ksdb


# Docker deployment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is fabulous. I tested it out and it works like a charm!

Comment thread requirements-docker.txt
@@ -0,0 +1,8 @@
Django==1.9.13
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Whoa … Django 1.9 is pretty ancient (last updated December 2015). If we can't upgrade it now, let's submit a fresh ticket to remind us to upgrade it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

not addressed yet

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@yuliujpl maybe we should skip this for now and just see if we can get the Dockerized version working

@nutjob4life
Copy link
Copy Markdown
Member

@yuliujpl looks like you've resolved several, nice! If there are ones you want to skip, just add a comment here in GitHub saying so.

Go ahead and @-ping me when you're ready for a re-review.

@yuliujpl
Copy link
Copy Markdown
Collaborator Author

yuliujpl commented May 7, 2026

@nutjob4life re-review!

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.

2 participants