Skip to content

Docker startup fails, missing documentation #544

@Aman7123

Description

@Aman7123

Overview:

  • Docker and Docker Compose improvements
  • Fix failing database seed
  • Fix Sidekiq initialization error
  • Update the README to account for docker/'production' deployment

Goal:
Initially my goal was to run the container version of this app for a University which turned into a massive project given the outdated infrastructre around Docker in this repo.

Reasoning:

  • The Docker ruby image npm install only leverages v18 while this app now requires v20.19. This is why I added a builder step for building the vite core-data app.
  • The rudy image referenced in the Dockerfile was 3.2.2 and according to .ruby-version 3.4.4 is required.
  • Cleaned up the Compose file.
  • On run of the entrypoint the bash script scaffolds Postgres with db:prepare however this runs the seeds.rb file which is outdated based on the core_data_connector_users table.
  • It is not identified in the docs but because the environments docker.rb inherits production the active_storage solution defaults to AWS so an S3 bucket is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions