docker-compose

This commit is contained in:
ahmed531998 2023-03-27 07:38:53 +02:00
parent fe5d2e1a20
commit ae810be1b8
1 changed files with 22 additions and 0 deletions

22
docker-compose.yaml Normal file
View File

@ -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