mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 05:38:00 +00:00
b665555de6
* 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>
23 lines
465 B
YAML
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
|