-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.dev.yaml
93 lines (85 loc) · 1.82 KB
/
docker-compose.dev.yaml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3"
services:
redis:
image: redis:7.2.1-alpine
container_name: redis
networks:
- keepers-network
mongodb:
image: mongo:7.0.2-jammy
container_name: mongodb
restart: unless-stopped
volumes:
- mongodb_data:/data/db
networks:
- keepers-network
env_file:
- .env
analytics-server:
image: rai-analytics-server
container_name: rai-analytics-server
build: lib/rai-analytics-server/.
depends_on:
- redis
env_file:
- .env
networks:
- keepers-network
manager-client:
image: manager-client
container_name: manager-client
build:
context: lib/client/.
dockerfile: Dockerfile
command: npm run start
expose:
- "3000"
networks:
- keepers-network
env_file:
- .env
manager-server:
image: manager-server
container_name: manager-server
build:
context: .
dockerfile: Dockerfile
target: base
volumes:
- ./src:/manager/src
- ./nodemon.json:/manager/src/nodemon.json
- ./files:/manager/files
- /var/run/docker.sock:/var/run/docker.sock
- ./logs:/app/logs
depends_on:
- redis
- mongodb
expose:
- "4000"
command: npm run start:dev
networks:
- keepers-network
env_file:
- .env
filebeat:
image: docker.elastic.co/beats/filebeat:7.17.0
volumes:
- ./filebeat.yml:/usr/share/filebeat/filebeat.yml
- ./logs:/app/logs
command: ["filebeat", "-e", "-c", "/usr/share/filebeat/filebeat.yml"]
env_file:
- .env
nginx:
image: nginx:latest
container_name: nginx
restart: on-failure
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
networks:
- keepers-network
networks:
keepers-network:
volumes:
mongodb_data: