docker-compose
This commit is contained in:
parent
fe5d2e1a20
commit
ae810be1b8
|
@ -0,0 +1,22 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
janet-backend:
|
||||
build: ./JanetBackEnd
|
||||
ports:
|
||||
- '4000:4000'
|
||||
volumes:
|
||||
- ./JanetBackEnd:/app
|
||||
network_mode: host
|
||||
environment:
|
||||
- FRONTEND_URL_WITH_PORT=http://127.0.0.1:3000
|
||||
janet-frontend:
|
||||
build: ./JanetFrontEnd
|
||||
ports:
|
||||
- '3000:3000'
|
||||
depends_on:
|
||||
- janet-backend
|
||||
stdin_open: true
|
||||
tty: true
|
||||
network_mode: host
|
||||
environment:
|
||||
- REACT_APP_BACKEND_URL=http://127.0.0.1:4000
|
Loading…
Reference in New Issue