Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eCR Viewer setup script + variable pattern setting 🖌️ #51

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

alismx
Copy link
Collaborator

@alismx alismx commented Feb 24, 2025

Changes Proposed

  • New vars, dibbs_service and dibbs_version to enable selecting a dibbs project during builds.
  • The addition of new .gitignore
  • adds *.env file loads in the ~/.bashrc file which sets vars across reboots
  • GitHub workflow packMachines.yml, to create Docker images dynamically based on provided service and version inputs.
  • Modification of the docker-compose.yml to remove hardcoded image versions and allow the version to be set as an environment variable at build time.
  • Setup wizard to help users set up the eCR Viewer application using Docker Compose.
  • A new build.sh script is also included in utils/ for executing the Packer build with the required service and version variables.

Additional Information

  • The setup wizard is specific to ecr-viewer. We could parameterize it, but I think that might be more work than just writing one specific to query-connector.

Testing

Reviewers can verify these changes by:

  • Run the following command in the utils directory:
    • ./build.sh dibbs-ecr-viewer v2.0.0-beta
  • Check Docker containers are properly setup
  • Verify wizard script, sudo ./wizard.sh
  • Run packer builds
  • Poke it
  • Prod it

@alismx alismx changed the title wip eCR Viewer setup script + variable pattern setting 🖌️ Feb 26, 2025
…docker-compose

This commit updates the environment variables configurations across different services and updates the services docker images to v2.0.0-beta in the docker-compose.yml file. Also, includes user guides for VM launch in AWS and Proxmox environments.
@alismx alismx marked this pull request as ready for review February 26, 2025 21:30
@alismx alismx marked this pull request as draft February 27, 2025 04:11
@alismx
Copy link
Collaborator Author

alismx commented Feb 27, 2025

I converted back to draft because the environment variables did not stay set in the ways I expected. I'll reopen this for review shortly.

Refactor the handling of environment variables in dibbs-ecr-viewer docker configuration. Migrate environment variables from hard-coded settings in ecr-viewer.env file to dynamic generation using a wizard script. Add backup for old environment settings. Update gitignore to include new .env files and backups.
@alismx alismx marked this pull request as ready for review February 28, 2025 19:54
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.

1 participant