forked from CSI-KJSCE/appointment_to_examiner
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user