Files
pezkuwi-telemetry/docker-compose.yml
T
Daniel Maricic b665555de6 working backend on docker (#226)
* working backend on docker

refactor of the dockerfiles to be more readable and independent.
full build of the backend (release only) within docker

* read `PORT` to u16

* Only need one `PORT` in the new backend

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-02-07 18:27:25 +01:00

23 lines
465 B
YAML

version: "3"
services:
telemetry-frontend:
build:
dockerfile: frontend.Dockerfile
context: ./
# Copy in changes to the ui, so no need to rebuild the images.
volumes:
- /app/node_modules
- ./packages:/app/packages
command: yarn start:frontend
ports:
- 3000:3000
telemetry-backend:
build:
dockerfile: backend.Dockerfile
context: ./
environment:
- PORT=8000
ports:
- 8000:8000