forked from idkravitz/binance-trade-bot
-
Notifications
You must be signed in to change notification settings - Fork 90
/
docker-compose.yml
43 lines (40 loc) · 1.01 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
version: "3"
services:
crypto-trading:
image: tntwist-binance-trade-bot
container_name: binance_trader
working_dir: /app
volumes:
- ./user.cfg:/app/user.cfg
- ./supported_coin_list:/app/supported_coin_list
- ./data:/app/data
- ./logs:/app/logs
- ./config:/app/config
command: python -m binance_trade_bot
environment:
- PYTHONUNBUFFERED=1
api:
image: tntwist-binance-trade-bot
container_name: binance_trader_api
working_dir: /app
volumes:
- ./user.cfg:/app/user.cfg
- ./data:/app/data
- ./logs:/app/logs
ports:
- 5123:5123
command: gunicorn binance_trade_bot.api_server:app -k eventlet -w 1 --threads 1 -b 0.0.0.0:5123
depends_on:
- crypto-trading
sqlitebrowser:
image: ghcr.io/linuxserver/sqlitebrowser
container_name: sqlitebrowser
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ./data/config:/config
- ./data:/data
ports:
- 3000:3000