-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (37 loc) · 829 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
40 lines (37 loc) · 829 Bytes
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
version: "3"
services:
rabbitmq:
image: rabbitmq:3.11.0-management
container_name: rabbimq
hostname: line
environment:
- RABBITMQ_DEFAULT_USER=MonkeDLyugge
- RABBITMQ_DEFAULT_PASS=TlVa474367636656565
volumes:
- ./rabbitmq:/var/lib/rabbitmq
ports:
- 5672:5672
- 15672:15672
restart: always
tele_bot:
build: ./telegram/tele_bot
container_name: tele_bot
command: python tele_bot/main.py
ports:
- 8000:8000
volumes:
- ./telegram:/tele_bot
listener:
build: ./telegram/listener
container_name: listener
command: python listener/listener.py
ports:
- 8001:8001
volumes:
- ./telegram:/listener
counter:
build: ./src
container_name: counter
command: python main.py
ports:
- 8002:8002