forked from CSI-KJSCE/appointment_to_examiner
feat: Add Docker configuration for the application stack and implement client-side API for data management and Excel export.
This commit is contained in:
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
server:
|
||||
build: ./server
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- mongoURI=mongodb://mongo:27017/appointment_to_examiner
|
||||
depends_on:
|
||||
- mongo
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
client:
|
||||
build: ./client
|
||||
ports:
|
||||
- "3000:80"
|
||||
depends_on:
|
||||
- server
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
mongo:
|
||||
image: mongo:latest
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongo-data:/data/db
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
mongo-data:
|
||||
Reference in New Issue
Block a user