-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.08 KB
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
services:
mongodb:
image: mongo:latest
container_name: mongodb
ports:
- "27020:27017"
volumes:
- mongo_data:/data/db
networks:
- agrync_network
backend:
build:
context: ./agrync_backend
container_name: agrync_backend
ports:
- "8000:8000"
- "4842:4842"
volumes:
- ./agrync_backend:/Agrync/agrync_backend
depends_on:
- mongodb
environment:
- MONGO_URI=mongodb://mongodb:27017
networks:
- agrync_network
frontend:
build:
context: ./agrync_frontend
container_name: agrync_frontend
ports:
- "5173:5173"
volumes:
- ./agrync_frontend:/Agrync/agrync_frontend
- /Agrync/agrync_frontend/node_modules
depends_on:
- backend
networks:
- agrync_network
orion:
image: telefonicaiot/fiware-orion:latest
depends_on:
- mongodb
ports:
- "1026:1026"
networks:
- agrync_network
environment:
- ORION_MONGO_URI=mongodb://mongodb:27017
networks:
agrync_network:
driver: bridge
volumes:
mongo_data: