File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
2
api :
3
3
container_name : evolution_api
4
- image : atendai/evolution-api:v2.0.9-rc
4
+ image : atendai/evolution-api:homolog
5
5
restart : always
6
+ depends_on :
7
+ - redis
8
+ - postgres
6
9
ports :
7
10
- 8080:8080
8
11
volumes :
@@ -14,8 +17,38 @@ services:
14
17
expose :
15
18
- 8080
16
19
20
+ redis :
21
+ image : redis:latest
22
+ networks :
23
+ - evolution-net
24
+ container_name : redis
25
+ command : >
26
+ redis-server --port 6379 --appendonly yes
27
+ volumes :
28
+ - evolution_redis:/data
29
+ ports :
30
+ - 6379:6379
31
+
32
+ postgres :
33
+ container_name : postgres
34
+ image : postgres:15
35
+ networks :
36
+ - evolution-net
37
+ command : ["postgres", "-c", "max_connections=1000"]
38
+ restart : always
39
+ ports :
40
+ - 5432:5432
41
+ environment :
42
+ - POSTGRES_PASSWORD=PASSWORD
43
+ volumes :
44
+ - postgres_data:/var/lib/postgresql/data
45
+ expose :
46
+ - 5432
47
+
17
48
volumes :
18
49
evolution_instances :
50
+ evolution_redis :
51
+ postgres_data :
19
52
20
53
21
54
networks :
You can’t perform that action at this time.
0 commit comments