mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 06:48:04 +00:00
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>
This commit is contained in:
+5
-8
@@ -3,9 +3,9 @@ version: "3"
|
||||
services:
|
||||
telemetry-frontend:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: frontend.Dockerfile
|
||||
context: ./
|
||||
# Copy in changes to the ui, so no need to rebulld the images.
|
||||
# Copy in changes to the ui, so no need to rebuild the images.
|
||||
volumes:
|
||||
- /app/node_modules
|
||||
- ./packages:/app/packages
|
||||
@@ -14,12 +14,9 @@ services:
|
||||
- 3000:3000
|
||||
telemetry-backend:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: backend.Dockerfile
|
||||
context: ./
|
||||
command: yarn start:backend
|
||||
environment:
|
||||
- TELEMETRY_SERVER=1024
|
||||
- FEED_SERVER=8080
|
||||
- PORT=8000
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 1024:1024
|
||||
- 8000:8000
|
||||
|
||||
Reference in New Issue
Block a user