Open-Model-Initiative / OMI-Data-Pipeline

Apache License 2.0
32 stars 3 forks source link

OMI-Data-Pipeline Containerization #31

Open fearnworks opened 3 weeks ago

fearnworks commented 3 weeks ago

Description:

We need to containerize the server and create a root docker-compose.yml file to manage all services. This will improve deployment consistency and simplify the development environment setup.

Tasks:

  1. Create Dockerfiles for each module:

    • [ ] odr_api
    • [x] odr_database
    • [ ] odr_frontend
  2. Create a root docker-compose.yml file in the project root directory:

    • [ ] Define services for each module
    • [ ] Set up proper networking between containers
    • [ ] Configure environment variables and volumes as needed
  3. Update the root Taskfile.yml:

    • [ ] Add tasks for building and managing Docker containers
    • [ ] Modify existing tasks to use Docker containers where appropriate
  4. Update module-specific Taskfiles:

    • [ ] Modify tasks to work within Docker containers
    • [ ] Add tasks for building individual module containers
  5. Create development and production configurations:

    • [ ] Develop separate docker-compose files for dev and prod environments
    • [ ] Ensure proper volume mounting for development
  6. Documentation:

    • [ ] Update README with instructions for using Docker
    • [ ] Document any changes to the development workflow

Acceptance Criteria:

notes:

PrateekKumar1709 commented 3 weeks ago

@fearnworks Happy to work on this one. Can you please assign this to me. Thank you.

robert-cronin commented 2 weeks ago

@fearnworks Happy to work on this one. Can you please assign this to me. Thank you.

@PrateekKumar1709 I'm sure you've got it covered, but if you need to delegate anything, I'd be willing to assist :+1: