forked from chrisleekr/binance-trading-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 867 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
37
38
39
40
41
42
43
version: '3.7'
services:
binance-bot:
container_name: binance-bot
build:
context: ./
target: dev-stage
# target: production-stage
networks:
- internal
volumes:
- ./config:/srv/config
- ./app:/srv/app
env_file:
- .env
environment:
# - BINANCE_MODE=test
- BINANCE_MODE=live
- BINANCE_JOBS_ALIVE_PRICE_SYMBOL=BTCUSDT
- BINANCE_JOBS_ALIVE_BALANCE_SYMBOLS=BTC,USDT
- BINANCE_JOBS_BBANDS_SYMBOL=BTCUSDT
- BINANCE_JOBS_MACD_STOP_CHASER_SYMBOL=BTCUSDT
- REDIS_HOST=binance-redis
- REDIS_PORT=6379
- REDIS_PASSWORD=
binance-redis:
container_name: binance-redis
image: redis:6.0
networks:
- internal
volumes:
- redis_data:/data
ports:
- 6379:6379
networks:
internal:
driver: bridge
volumes:
redis_data: