Skip to content

feat: Add Docker support for containerized deployment (#65)#77

Open
Nakshatra480 wants to merge 1 commit intohyphae:add-license-1from
Nakshatra480:feature/issue-65-docker-support
Open

feat: Add Docker support for containerized deployment (#65)#77
Nakshatra480 wants to merge 1 commit intohyphae:add-license-1from
Nakshatra480:feature/issue-65-docker-support

Conversation

@Nakshatra480
Copy link

Closes #65

Added Docker support to make running APIS easier. Instead of manually installing Java, Python, MongoDB and building everything, you can now just run docker-compose up.

What's included:

  • Dockerfile with all dependencies (JDK 11, Python 3, MongoDB 4.4)
  • docker-compose.yml for easy startup
  • Entrypoint script that starts all services in the right order
  • .dockerignore for optimized builds

How to test:

  1. Make sure Docker is running
  2. Run docker-compose up (takes ~7 mins first time)
  3. Wait for "All APIS services started!" message
  4. Open these URLs in your browser:

Test results:

Service Port Status
Main Controller 4382 ✓ Working
Hardware Emulator 4390 ✓ Working
Testing Interface 10000 ✓ Working
Service Center 8000 ⚠️ See note below

Known issue (not related to this PR):

The Service Center page loads but the UI doesn't render. This is a pre-existing bug in the apis-service_center repo where JavaScript files are served with text/html MIME type instead of application/javascript. The browser blocks them due to strict MIME checking. This happens with or without Docker - it's an upstream issue that should be fixed separately.

Changes to apis-bom:

Had to roll back Vert.x from 4.4.6 to 3.9.16 because the GitHub repos (apis-ccc, apis-web, etc.) use older Vert.x APIs that were removed in v4. Without this fix, the Docker build fails with compilation errors.

Adds Dockerfile, docker-compose.yml, and entrypoint script for
containerized deployment. Fixes Vert.x version for build compatibility.

Signed-off-by: Nakshatra Sharma <nakshatra.sharma3012@gmail.com>
@Nakshatra480
Copy link
Author

Nakshatra480 commented Jan 24, 2026

@axmsoftware @AkarshSahlot added the feature, pls review the changes... thanks

Copy link
Contributor

@AkarshSahlot AkarshSahlot left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @Nakshatra480! I've reviewed the changes where you added four new files.
@axmsoftware - Could you please review these changes when you have a chance, before merging?

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.

Add official Docker support and containerization

2 participants