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

Feature: deploy BHIMA using docker and docker-compose #7586

Merged
merged 29 commits into from
May 22, 2024

Commits on May 13, 2024

  1. Create docker-image.yml

    Adds a workflow to build and publish to Github Container Registry.
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    5da2515 View commit details
    Browse the repository at this point in the history
  2. chore: improve docker + compose

    The following docker fixes are in place:
     - transitions to using npm in docker.
     - removes extraneous comments and environmental variables in dockerfile.
    
    The following compose fixes are in place:
     - adds a networking layer
     - uses the correct mysql 8.4 auth plugin call
     - removes the extraneous UTF8 variables
     - removes the deprecated version tag
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    5fd6699 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    116cee0 View commit details
    Browse the repository at this point in the history
  4. chore: initialize mysql database in docker

    The mysql dockerfile has been pinned at 8.3 to avoid errors in the
    default authentication plugin.  See
    mysqljs/mysql#2233 for more information.  It
    might be prudent to switch to mysql2 instead of mysqljs for future
    release.
    
    I've renamed all the server model files to have a numeric prefix to
    allow execution in order.  The 99-debug.sql file crashes, but it is not
    necessary for the functioning of the BHIMA server.
    
    You can now type `docker-compose up` and be taken to the BHIMA
    installation page on localhost.  Environmental variables are set in the
    `.env` file as usual.
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    8378f57 View commit details
    Browse the repository at this point in the history
  5. chore: rename sql files

    Renames the sql files everywhere they are referenced to their new
    alphanumeric names.
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    c2d48e4 View commit details
    Browse the repository at this point in the history
  6. fix: sever-unit -> server-unit

    Fixes the typo sever to server.
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    bdc1845 View commit details
    Browse the repository at this point in the history
  7. fix: add env vars to bhima docker

    Fixes an issue with the user/password not being synchronized between the
    bhima and mysql containers.
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    6ee5c5c View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1 from Third-Culture-Software/chore-build-with-do…

    …cker
    
    chore: build with docker
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    e5e9118 View commit details
    Browse the repository at this point in the history
  9. chore: allow manual trigger of builds

    Adds the workflow_dispatch trigger to manually trigger docker builds
    from the actions menu.
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    cf3d147 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #2 from Third-Culture-Software/chore-build-with-do…

    …cker
    
    chore: allow manual trigger of builds
    jniles committed May 13, 2024
    Configuration menu
    Copy the full SHA
    75790e7 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Create docker-image.yml

    Adds a workflow to build and publish to Github Container Registry.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    624f3b3 View commit details
    Browse the repository at this point in the history
  2. chore: improve docker + compose

    The following docker fixes are in place:
     - transitions to using npm in docker.
     - removes extraneous comments and environmental variables in dockerfile.
    
    The following compose fixes are in place:
     - adds a networking layer
     - uses the correct mysql 8.4 auth plugin call
     - removes the extraneous UTF8 variables
     - removes the deprecated version tag
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    4a21d87 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e115364 View commit details
    Browse the repository at this point in the history
  4. chore: initialize mysql database in docker

    The mysql dockerfile has been pinned at 8.3 to avoid errors in the
    default authentication plugin.  See
    mysqljs/mysql#2233 for more information.  It
    might be prudent to switch to mysql2 instead of mysqljs for future
    release.
    
    I've renamed all the server model files to have a numeric prefix to
    allow execution in order.  The 99-debug.sql file crashes, but it is not
    necessary for the functioning of the BHIMA server.
    
    You can now type `docker-compose up` and be taken to the BHIMA
    installation page on localhost.  Environmental variables are set in the
    `.env` file as usual.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    572edf5 View commit details
    Browse the repository at this point in the history
  5. chore: rename sql files

    Renames the sql files everywhere they are referenced to their new
    alphanumeric names.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    6b89ad3 View commit details
    Browse the repository at this point in the history
  6. fix: sever-unit -> server-unit

    Fixes the typo sever to server.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    e7afb25 View commit details
    Browse the repository at this point in the history
  7. fix: add env vars to bhima docker

    Fixes an issue with the user/password not being synchronized between the
    bhima and mysql containers.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    9071a22 View commit details
    Browse the repository at this point in the history
  8. chore: allow manual trigger of builds

    Adds the workflow_dispatch trigger to manually trigger docker builds
    from the actions menu.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    4488bd3 View commit details
    Browse the repository at this point in the history
  9. Create .env.docker

    Creates the .env specifically for docker that omits key variables needed to be defined at runtime by the user.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    804a184 View commit details
    Browse the repository at this point in the history
  10. Update .dockerignore

    Adds the .env to the ignored files list.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    c121fe8 View commit details
    Browse the repository at this point in the history
  11. refactor: use dockerhub for distribution.

    Uses dockerhub to avoid the GCR's permissions issues.  The
    docker-compose file should now be able to run BHIMA without any further
    configuration.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    8bebc31 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a0648a4 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #3 from Third-Culture-Software/chore-docker-env

    Properly configure docker environment.
    jniles committed May 14, 2024
    Configuration menu
    Copy the full SHA
    07e8800 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. chore(docker): fewer env file configurations

    Provides defaults for all environmental variables.  Adds installation
    instructions for docker-compose.
    jniles committed May 16, 2024
    Configuration menu
    Copy the full SHA
    b163a1c View commit details
    Browse the repository at this point in the history
  2. docs: add reference to docker installations

    Adds a reference to the docker installation instructions.
    jniles committed May 16, 2024
    Configuration menu
    Copy the full SHA
    f8ee5b4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #4 from Third-Culture-Software/chore-finalize-dock…

    …er-compose-installation-instructions
    
    chore(docker): fewer env file configurations
    jniles committed May 16, 2024
    Configuration menu
    Copy the full SHA
    e8fb3d8 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    2c5a026 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    403cc4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efdf721 View commit details
    Browse the repository at this point in the history