-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (39 loc) · 824 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (39 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.7'
services:
server:
build:
context: ./Backend
dockerfile: Dockerfile
image: matchmaker-server
container_name: matchmaker-node-server
command: npm start
ports:
- "3001:3001"
# depends_on:
# - mongo
# env_file: ./Backend/.env
# environment:
# - NODE_ENV=development
# - MONGO_URL=mongodb://host.docker.internal:27017/matchmaker
# networks:
# - app-network
client:
build:
context: ./Frontend
dockerfile: Dockerfile
image: myapp-client
container_name: matchmaker-react-client
command: npm start
depends_on:
- server
ports:
- "3000:3000"
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
data-volume:
web-root:
driver: local