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

Refactor Docker Stack #75

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

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    c2ed3ac View commit details
    Browse the repository at this point in the history
  2. Add dockerignore file

    burnoutprojects committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    d38b214 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5209bf3 View commit details
    Browse the repository at this point in the history
  4. Create multi-stage image file and entrypoint file

    * Dockerfile: Set of instructions for creating development and production image
    * entrypoint.sh: This file override the default entrypoint of the image. Install npm dependencies and run npm script based of enviroment
    burnoutprojects committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    0c9df01 View commit details
    Browse the repository at this point in the history
  5. Update entrypoint.sh

    * Add message for app running mode (ex. development, production)
    * Add build script to production mode
    burnoutprojects committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    90b0bd2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    631c88e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f7741d7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    073753a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3ab819e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    36dd554 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d29cdfa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    72d98a2 View commit details
    Browse the repository at this point in the history
  13. Dockerfile: Update multi-stage image

    * Add Builder step
    * Add Development step
    * Add Production step
    burnoutprojects committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    f10b2ff View commit details
    Browse the repository at this point in the history
  14. Add new docker compose files for development and production use

    * dev.compose.yaml - For development only use
    * prod.compose.yaml - For production only use
    burnoutprojects committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    fd98882 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Move @swc/helpers and dotenv to dependencies

    In current structure of docker if not present, the app is not starting because missing dependencies
    burnoutprojects committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    a82603d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    240ca6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    516d160 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2f71d1 View commit details
    Browse the repository at this point in the history
  5. Update .gitignore and .dockerignore

    - Add .data and .dev-data in .gitignore file
    - Add .data and .dev-data in .dockerignore file
    burnoutprojects committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    fc8e4dd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c3366a2 View commit details
    Browse the repository at this point in the history
  7. package.json: Update dev script to use ts-node

    - Re-add ts-node in dev dependencies
    - Update the dev script to use ts-node with node --watch flag
    burnoutprojects committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    beade97 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0a472b0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0243bdd View commit details
    Browse the repository at this point in the history
  10. dev.compose.yaml: Update dev compose file

    - Add .dev-data folder as volume
    - Remove docker volume
    burnoutprojects committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    8b315b9 View commit details
    Browse the repository at this point in the history
  11. dev.compose.yaml: Update dev compose file

    - Add .dev-data folder as volume
    - Remove docker volume
    - Uncomment ports
    burnoutprojects committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    4a17148 View commit details
    Browse the repository at this point in the history
  12. package.json: Update scripts

    - Add docker:clean script
    - Update docker-dev:start script
    - Update docker-prod:start script
    - Update docker-dev:build script
    - Update docker-prod:build script
    burnoutprojects committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    297e81d View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    e7104ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9e3c8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24e7afa View commit details
    Browse the repository at this point in the history