UVicMartletplace / martletplace

Recreating FB Marketplace for Students - UVic SENG499 Capstone Project
1 stars 0 forks source link

Create a Docker-Compose file #107

Closed emilasuska closed 4 weeks ago

emilasuska commented 1 month ago

Feature Description

Make a Docker-Compose file to start all required services:

relates: #xxx blocked by: #xxx

Problem You're Trying to Solve

Create a containerized environment that can be reproduced anywhere for production and local development.

Related External Resources

Acceptance Criteria

GDeane commented 1 month ago

I believe that ResOps was setting this up for us.

If you take a look at and checkout the master branch of martletplace, they already have a docker compose file set up with the frontend, backend, and search endpoints) (and Pull Requests are on the way to create the remaining endpoints, including elasticsearch): Image

They've come up with a port naming system, as can be seen in the above picture.

You can test it out by:

  1. checking out master,
  2. navigating to the root of the project,
  3. running 'docker-compose up --build'
  4. opening localhost: