forked from LlmKira/Openaibot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
57 lines (54 loc) · 1.07 KB
/
docker-compose.yml
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
version: '3.3'
services:
llmbot:
image: sudoskys/llmbot:latest
container_name: llmbot
deploy:
resources:
limits:
cpus: '0.80'
memory: 1500M
reservations:
cpus: '0.25'
memory: 500M
depends_on:
- redis
- rabbitmq
environment:
AMQP_DSN: amqp://admin:admin@rabbitmq:5672
REDIS_DSN: redis://redis:6379/0
env_file:
- .env
networks:
- app-tier
rabbitmq:
image: rabbitmq:3-management
container_name: rabbit
hostname: rabbitmq
restart: on-failure
ports:
- 15672:15672
- 5672:5672
environment:
TZ: Asia/Shanghai
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: admin
volumes:
- ./data:/var/lib/rabbitmq
networks:
- app-tier
redis:
container_name: redis-server
image: redis:latest
restart: on-failure
environment:
- TZ=Asia/Shanghai
volumes:
- ./redis:/data
ports:
- 6379:6379
networks:
- app-tier
networks:
app-tier:
driver: bridge