-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
88 lines (80 loc) · 1.64 KB
/
docker-compose.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
version: "3.8"
name: pegasus-bot
networks:
pegasus-network:
driver: bridge
external: true
services:
bot-api-server:
image: aiogram/telegram-bot-api
ports:
- "8081:8081"
networks:
- pegasus-network
env_file:
- .env
gateway:
image: pegasus-bot/gateway
build:
context: .
dockerfile: docker/basic/Dockerfile
args:
COMPONENT: "gateway"
networks:
- pegasus-network
env_file:
- .env
basic-handler:
image: pegasus-bot/basic-handler
build:
context: .
dockerfile: docker/basic/Dockerfile
args:
COMPONENT: "basic-handler"
deploy:
replicas: 3
networks:
- pegasus-network
env_file:
- .env
remake-handler:
image: pegasus-bot/remake-handler
build:
context: .
dockerfile: docker/basic/Dockerfile
args:
COMPONENT: "remake-handler"
deploy:
replicas: 3
networks:
- pegasus-network
env_file:
- .env
network-functions-handler:
image: pegasus-bot/network-functions-handler
build:
context: .
dockerfile: docker/rust-basic/Dockerfile
args:
COMPONENT: "network-functions-handler"
PROFILE: "dev"
deploy:
replicas: 3
networks:
- pegasus-network
env_file:
- .env
pm-bot-forwarding-handler:
image: pegasus-bot/pm-bot-forwarding-handler
build:
context: .
dockerfile: docker/rust-basic/Dockerfile
args:
COMPONENT: "pm-bot-forwarding-handler"
PROFILE: "dev"
deploy:
replicas: 1
networks:
- pegasus-network
env_file:
- .env