Janet/docker-compose.yaml

23 lines
474 B
YAML

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