fikretellek / Coursework-Planner

Your coursework planner
0 stars 0 forks source link

[TECH ED] Dockerise CYF Hotel #284

Open fikretellek opened 2 weeks ago

fikretellek commented 2 weeks ago

From Module-Cloud created by SallyMcGrath: CodeYourFuture/Module-Cloud#6

Link to the coursework

https://docs.docker.com/

Why are we doing this?

Dockerize CYF Hotel

The main aim of this sprint is to become familiar with Docker Concepts and be able to use it to a base level. To achieve this, we’ll keep working on our CYF Hotel.

Prep

Make sure you have completed the prep for this week and your Docker daemon is working correctly before continuing.

Docker Backend

Start working on dockerising your application backend. Create a Dockerfile, set it up for node and replicate your setup and install steps that were manual so far in there. Iterate until you get it to run successfully as a Docker Container locally. Hint: Remember port forwarding!

Once successful, upload your created Docker Image to either your DockerHub account or (advanced) AWS’s ECR. Once done, Update your EC2 instance to now run your backend as a container. Hint: You will need to set up Docker on the VM itself for this to work

GitHub Pipelines

Once this is done and working fully, time to automate it - rework your Github Actions Workflow to test, build and upload your Docker image, and then deploy the new version to the EC2 machine.

Maximum time in hours

6

How to get help

If you are doing this for the first time, this will be hard. You must reach out to volunteers to help you. Your ability to ask for help is actively assessed during this time. Ask good, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

You are not expected to be able to complete this module completely independently. You are expected to get help from volunteers.

How to submit

In this advanced module you will demo your work. You may wish to make notes for case studies to add to your portfolio.