Files
quantumbotx/docker-compose.yml
T
Reynov Christian 5df683e2ce chore: modernize Docker setup with Python 3.13 and env_file integration
- 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.
2025-12-31 15:02:35 +08:00

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