Created a Dockerfile & docker-compose so theres no need to run in separate terminals (#111)

* docker file & docker-compose

* Readme & spelling corretions

* undoing formatOnSave changes

* more changes to readme
This commit is contained in:
Marko
2019-02-21 16:41:24 +01:00
committed by Maciej Hirsz
parent 71778e9450
commit dfaabac0df
4 changed files with 53 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
version: "3"
services:
telemetry-frontend:
build:
dockerfile: Dockerfile
context: ./
# Copy in changes to the ui, so no need to rebulld the images.
volumes:
- /app/node_modules
- ./packages:/app/packages
command: yarn start:frontend
ports:
- 3000:3000
telemetry-backend:
build:
dockerfile: Dockerfile
context: ./
command: yarn start:backend
environment:
- TELEMETRY_SERVER=1024
- FEED_SERVER=8080
ports:
- 8080:8080
- 1024:1024