-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-env.yaml
60 lines (53 loc) · 1.03 KB
/
docker-compose-env.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
version: "3.8"
name: pegasus-bot-env
networks:
pegasus-network:
driver: bridge
external: true
volumes:
logs:
driver: local
postgres-data:
driver: local
redis-data:
driver: local
services:
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "4317:4317"
- "16686:16686"
networks:
- pegasus-network
postgres:
image: postgres:15-alpine
environment:
- POSTGRES_USER=pegasus
- POSTGRES_PASSWORD=pegasus
- POSTGRES_DB=pegasus
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- pegasus-network
redis:
image: redis:7
environment:
- REDIS_PASSWORD=pegasus
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- pegasus-network
mq:
image: rabbitmq:management-alpine
environment:
- RABBITMQ_DEFAULT_USER=pegasus
- RABBITMQ_DEFAULT_PASS=pegasus
ports:
- "15672:15672"
- "5672:5672"
networks:
- pegasus-network