mirror of
https://github.com/chrisnov-it/quantumbotx.git
synced 2026-07-28 03:07:53 +00:00
5df683e2ce
- Upgraded base image to python:3.13-slim. - Optimized Docker layer caching (requirements first). - Integrated env_file: .env in docker-compose.yml for consistency. - Added build-essential to support potential C-extension libraries.
19 lines
468 B
YAML
19 lines
468 B
YAML
services:
|
|
quantumbotx:
|
|
build: .
|
|
container_name: quantumbotx_bot
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
- .:/app
|
|
- ./instance:/app/instance # Persist database (SQLite)
|
|
- ./logs:/app/logs # Persist trade logs
|
|
env_file:
|
|
- .env # Gunakan konfigurasi terpusat dari .env Anda
|
|
environment:
|
|
- FLASK_ENV=development
|
|
- BROKER_TYPE=CCXT
|
|
- EXCHANGE_ID=binance
|
|
- PYTHONUNBUFFERED=1
|
|
restart: unless-stopped
|