feat: Set up initial Docker Compose environment for client and server with Nginx, Express, MongoDB, and JWT/Google OAuth authentication.

This commit is contained in:
2025-12-08 16:14:52 +05:30
parent a45eb2569c
commit 093af3a36f
6 changed files with 36 additions and 4 deletions

View File

@@ -4,18 +4,22 @@ services:
server:
build: ./server
ports:
- "8080:8080"
- "10090:8080"
environment:
- mongoURI=mongodb://mongo:27017/appointment_to_examiner
- CORS_ORIGIN=http://localhost:10091
depends_on:
- mongo
networks:
- app-network
client:
build: ./client
build:
context: ./client
args:
- REACT_APP_API_URL=/api
ports:
- "3000:80"
- "10091:80"
depends_on:
- server
networks: