Run all backend services with a single docker-compose.yml
Changes:
- fixed forwarding points in gateway
- changed frontend port to 3000, to prevent conflict with envoy at 8080
- moved
protosfrom outside tobackend/gateway/protos, so that it can run from the project directory - moved
backend/database/config.jsfrom outside tobackend/gateway/src/database.jsandbackend/app/src/database.js, so that it can run from the project directory - moved
backend/Dockerfiletobackend/app/Dockerfile, so that it can build from the project directory - added
backend/gateway/Dockerfile - added start script to
backend/app/package.jsonandbackend/gateway/package.json, so that they can run withnpm startcommand - updated
backend/docker-compose.ymlto run all backend services
Edited by Zak, J. (Jan)