Skip to content

School Project to introduce dockerfile and docker-compose

Notifications You must be signed in to change notification settings

CharlyRousseau/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

todo app

Docker

This is a small project designed to introduce Docker and Docker Compose. It was created in approximately 3 hours.

Prerequisites

  • Docker
  • Docker Compose

How to Launch

  1. Clone the repository: git clone https://github.com/CharlyRousseau/todo-app.git

  2. Navigate to the project directory: cd todo-app/

  3. Edit the docker-compose.yml file and ensure that the port for the frontend service matches the ALLOWED_PORT in the backend service. For example, if the frontend service is running on port 3000, the ALLOWED_PORT should also be 3000.

  4. Build and run the Docker containers:

Your application should now be running at http://localhost:<FRONTEND_PORT>, where <FRONTEND_PORT> is the port you set for the frontend service.

Important Note

Please ensure that the port for the frontend service in the docker-compose.yml file matches the ALLOWED_PORT in the backend service. This is necessary for the CORS configuration to work correctly.

About

School Project to introduce dockerfile and docker-compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published