mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-09 20:21:01 +00:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user