-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 846 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (41 loc) · 846 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
version: "3.9"
services:
frontend:
image: yash4256/transyobe_frontend:latest
container_name: frontend-transyobe
restart: unless-stopped
ports:
- "5173:80"
networks:
- app-network
environment:
- VITE_API_URL=http://backend:8000/api/v1
depends_on:
- backend
backend:
image: yash4256/transyobe-backend:latest
container_name: backend-transyobe
restart: unless-stopped
ports:
- "8000:8000"
env_file:
- ./backend/.env
networks:
- app-network
depends_on:
- mongo
mongo:
image: mongo:7.0
container_name: transyobe-mongo
restart: unless-stopped
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
networks:
- app-network
volumes:
mongo-data:
networks:
app-network:
driver: bridge