If you want to just run the application without building the images yourself, you can use the images that are already built and available on Docker Hub.
docker-compose -p todoapp -f docker-compose-hub.yaml up todo-app-frontendIf you want to build the images yourself, you can use the following command to build the images and run the application.
docker-compose -p todoapp up build-todo-app-backend
docker-compose -p todoapp up build-todo-app-frontend
# wait for the build to finish
# then run the application
docker-compose -p todoapp up todo-app-backend
docker-compose -p todoapp up todo-app-frontendThe frontend will be available at http://localhost:9081
The backend will be available at http://localhost:9080
| Username | Password |
|---|---|
12345678 |
|
12345678 |
|
12345678 |