From f1239b3e5ae0e953311d78571c7c96c1f25cbab7 Mon Sep 17 00:00:00 2001 From: Jeff Koenig Date: Tue, 13 Aug 2019 11:30:28 -0700 Subject: [PATCH] Add a docker-compose file to make the building and running steps a little easier Now, instead of running.. docker build -t rollout-js . docker build -t rollout-java . docker run -d -p 3000:3000 rollout-js docker run -d -p 8080:8080 rollout-java You can now just run... docker-compose build docker-compose up . --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e97a79a --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3' +services: + rollout-js: + build: ./frontend-spring-boot-react-crud-full-stack-with-maven/. + ports: + - "3000:3000" + rollout-java: + build: ./backend-spring-boot-react-crud-full-stack-with-maven/. + ports: + - "8080:8080"