-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (55 loc) · 986 Bytes
/
docker-compose.yml
File metadata and controls
61 lines (55 loc) · 986 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
services:
frontend-vite:
build:
context: ./frontend/crudder
dockerfile: Dockerfile
image: frontend-vite
env_file:
- ./frontend/crudder/.env
networks:
- frontend
ports:
- "5173:5173"
restart: unless-stopped
backend-node:
build:
context: ./backend
dockerfile: Dockerfile
image: backend-node
env_file:
- ./backend/.env
- .env.aws
init: true
depends_on:
- mongodb
- xray
networks:
- frontend
- backend
ports:
- "3000:3000"
restart: unless-stopped
mongodb:
image: mongo:6.0
volumes:
- mongodb_data:/data/db
networks:
- backend
env_file:
- .env
ports:
- "27017:27017"
restart: unless-stopped
xray:
image: amazon/aws-xray-daemon
env_file:
- .env.aws
ports:
- "2000:2000/udp"
networks:
- backend
volumes:
mongodb_data:
networks:
frontend:
backend: