G2P-697 - Kubernetes deployment support for API - #424
Open
seeta-ramaraju wants to merge 5 commits into
Open
Conversation
dglemos
reviewed
Aug 7, 2026
Collaborator
There was a problem hiding this comment.
Tasks
- Configure env variables to point to db
- Run app locally
- Run tests locally
The following URL is not working: http://127.0.0.1:8000/admin/
Error message:
ImproperlyConfigured at /admin/login/
You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates files to support deploying the API to Kubernetes.
Summary of changes:
.dockerignore: Excludes unnecessary local files from Docker builds.Dockerfile: Adds a Docker build for running the API in Kubernetes..github/workflows/test.yml: Updates GitHub test workflow for MySQL env vars, pip caching, stricter migration checks, and improved MySQL health checks..gitlab-ci.yml: Adds GitLab CI/CD pipeline for testing, building, and deploying to Kubernetes.README.md: Updates configuration docs to move database settings to environment variables.requirements.txt: Updatesmysqlclientand addswhitenoiseandgunicorn.gene2phenotype_project/default_config.ini: Adds default build-time config used by Docker static collection.gene2phenotype_project/gene2phenotype_project/settings.py: Adds default config loading, env-based database configuration, WhiteNoise static handling, security headers, and DB env var validation.gene2phenotype_project/gene2phenotype_project/urls.py: Adds health and readiness probe routes.gene2phenotype_project/gene2phenotype_app/views/health_check.py: Adds liveness and readiness endpoints for Kubernetes probes.JIRA Ticket
G2P-697
Contributor Checklist