-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (35 loc) · 933 Bytes
/
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
services:
app:
build:
context: .
dockerfile: app.Dockerfile
environment:
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- CHAT_ID=${CHAT_ID}
- TRELLO_API_KEY=${TRELLO_API_KEY}
- TRELLO_TOKEN=${TRELLO_TOKEN}
- TRELLO_BOARD_ID=${TRELLO_BOARD_ID}
- WEBHOOK_URL=${WEBHOOK_URL}
- PORT=${PORT}
- LOGGING_LEVEL=${LOGGING_LEVEL}
ports:
- ${PORT}:${PORT}
volumes:
- ./:/home/trellobot
webhook_generate:
build:
context: .
dockerfile: webhook_generate.Dockerfile
environment:
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- CHAT_ID=${CHAT_ID}
- TRELLO_API_KEY=${TRELLO_API_KEY}
- TRELLO_TOKEN=${TRELLO_TOKEN}
- TRELLO_BOARD_ID=${TRELLO_BOARD_ID}
- WEBHOOK_URL=${WEBHOOK_URL}
- PORT=${PORT}
- LOGGING_LEVEL=${LOGGING_LEVEL}
depends_on:
- app
volumes:
- ./:/home/webhook_generate