Closed SamanthaCra closed 1 week ago
This is for automation of our live app. Build will need to be documented.
[x] Write a Dockerfile: Create a Dockerfile in the project that defines the environment and dependencies the application needs.
[x] Create a Docker Compose File
[x] #69
Set Up Continuous Integration (CI) with GitHub Actions:
[x] Create a Workflow File: This file will define the steps to build and deploy the Docker container.
[x] Define Triggers: Configure the workflow to trigger on push events to the main branch.
[x] Include Build and Deployment Steps: Add steps to the workflow to build Docker image, push it to a Docker registry and deploy it to the server.
[x] Configure Secrets:
[x] Set Up Deployment Environment: Configure the VM to pull the Docker image from the registry and run it.
[ ] #70
[x] Verify and test: Make a change to the code and push it to the main branch.
[ ] Verify that the workflow is triggered, the Docker image is built and deployed, and the application runs as expected in thedeployment environment.
Documented in: https://github.com/OtagoPolytechnic/Cloudy-with-a-Chance-of-LoRa/wiki/Docker
Added workflow file, merged #43.
Added relevant GitHub information for YAML
Manual runs of docker back and frontends are working.
This is for automation of our live app. Build will need to be documented.
[x] Write a Dockerfile: Create a Dockerfile in the project that defines the environment and dependencies the application needs.
[x] Create a Docker Compose File
[x] #69
Set Up Continuous Integration (CI) with GitHub Actions:
[x] Create a Workflow File: This file will define the steps to build and deploy the Docker container.
[x] Define Triggers: Configure the workflow to trigger on push events to the main branch.
[x] Include Build and Deployment Steps: Add steps to the workflow to build Docker image, push it to a Docker registry and deploy it to the server.
[x] Configure Secrets:
[x] Set Up Deployment Environment: Configure the VM to pull the Docker image from the registry and run it.
[ ] #70
[x] Verify and test: Make a change to the code and push it to the main branch.
[ ] Verify that the workflow is triggered, the Docker image is built and deployed, and the application runs as expected in thedeployment environment.