-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
50 lines (48 loc) · 1.08 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
redis:
image: redis:7.4.0-alpine
volumes:
- ./data/redis:/data
restart: always
proxy:
depends_on:
- redis
build: ./proxy
volumes:
- ./proxy:/app
- /app/node_modules
environment:
APP_PORT: ${APP_PORT}
LOG_LEVEL: ${LOG_LEVEL}
REQUIRE_AUTH: ${REQUIRE_AUTH}
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_DB: 0
ports:
- "${APP_PORT}:${APP_PORT}"
expose:
- "${APP_PORT}/tcp"
restart: always
telegram_bot:
depends_on:
- redis
build: ./telegram-bot
volumes:
- ./telegram-bot:/app
- /app/node_modules
environment:
APP_PORT: ${APP_PORT}
BOT_APP_PORT: ${BOT_APP_PORT}
LOG_LEVEL: ${LOG_LEVEL}
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_DB: 0
PUBLIC_URL: ${PUBLIC_URL}
TELEGRAM_API_TOKEN: ${TELEGRAM_API_TOKEN}
TELEGRAM_USE_WEBHOOKS: ${TELEGRAM_USE_WEBHOOKS}
NTBA_FIX_319: ${NTBA_FIX_319}
ports:
- "${BOT_APP_PORT}:${BOT_APP_PORT}"
expose:
- "${BOT_APP_PORT}/tcp"
restart: always