-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathdocker-compose.test.yaml
More file actions
112 lines (101 loc) · 3.23 KB
/
Copy pathdocker-compose.test.yaml
File metadata and controls
112 lines (101 loc) · 3.23 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
x-example: &example
init: true
platform: ${DOCKER_PLATFORM:-linux/amd64}
restart: unless-stopped
x-example-build: &example-build
args:
TGBOT_CPP_IMAGE: ${TGBOT_CPP_IMAGE:-reo7sp/tgbot-cpp}
services:
echobot:
<<: *example
image: tgbot-cpp-example-echobot
build:
<<: *example-build
context: examples/echobot
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_ECHOBOT_TOKEN:?Set EXAMPLE_ECHOBOT_TOKEN in env}
echobot-proxy:
<<: *example
image: tgbot-cpp-example-echobot-proxy
build:
<<: *example-build
context: examples/echobot-proxy
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_ECHOBOT_PROXY_TOKEN:?Set EXAMPLE_ECHOBOT_PROXY_TOKEN in env}
echobot-setmycommands:
<<: *example
image: tgbot-cpp-example-echobot-setmycommands
build:
<<: *example-build
context: examples/echobot-setmycommands
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_ECHOBOT_SETMYCOMMANDS_TOKEN:?Set EXAMPLE_ECHOBOT_SETMYCOMMANDS_TOKEN in env}
echobot-submodule:
<<: *example
image: tgbot-cpp-example-echobot-submodule
build:
<<: *example-build
context: .
dockerfile: examples/echobot-submodule/Dockerfile
environment:
TOKEN: ${EXAMPLE_ECHOBOT_SUBMODULE_TOKEN:?Set EXAMPLE_ECHOBOT_SUBMODULE_TOKEN in env}
echobot-webhook-server:
<<: *example
image: tgbot-cpp-example-echobot-webhook-server
build:
<<: *example-build
context: examples/echobot-webhook-server
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_ECHOBOT_WEBHOOK_SERVER_TOKEN:?Set EXAMPLE_ECHOBOT_WEBHOOK_SERVER_TOKEN in env}
WEBHOOK_URL: ${EXAMPLE_ECHOBOT_WEBHOOK_SERVER_URL:?Set EXAMPLE_ECHOBOT_WEBHOOK_SERVER_URL in env}
ports:
- "${EXAMPLE_ECHOBOT_WEBHOOK_SERVER_PORT:-8080}:8080"
inline-keyboard:
<<: *example
image: tgbot-cpp-example-inline-keyboard
build:
<<: *example-build
context: examples/inline-keyboard
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_INLINE_KEYBOARD_TOKEN:?Set EXAMPLE_INLINE_KEYBOARD_TOKEN in env}
photo:
<<: *example
image: tgbot-cpp-example-photo
build:
<<: *example-build
context: examples/photo
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_PHOTO_TOKEN:?Set EXAMPLE_PHOTO_TOKEN in env}
receive-file:
<<: *example
image: tgbot-cpp-example-receive-file
build:
<<: *example-build
context: examples/receive-file
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_RECEIVE_FILE_TOKEN:?Set EXAMPLE_RECEIVE_FILE_TOKEN in env}
received-text-processing:
<<: *example
image: tgbot-cpp-example-received-text-processing
build:
<<: *example-build
context: examples/received-text-processing
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_RECEIVED_TEXT_PROCESSING_TOKEN:?Set EXAMPLE_RECEIVED_TEXT_PROCESSING_TOKEN in env}
reply-keyboard:
<<: *example
image: tgbot-cpp-example-reply-keyboard
build:
<<: *example-build
context: examples/reply-keyboard
dockerfile: Dockerfile
environment:
TOKEN: ${EXAMPLE_REPLY_KEYBOARD_TOKEN:?Set EXAMPLE_REPLY_KEYBOARD_TOKEN in env}