Files
trading_bot_v3/docker-compose.yml
mindesbunister a9bbcc7b5f Fix Tailwind CSS styling configuration
- Add tailwind.config.ts with proper content paths and theme config
- Add postcss.config.js for Tailwind and autoprefixer processing
- Downgrade tailwindcss to v3.4.17 and add missing PostCSS dependencies
- Update Dockerfile to clarify build process
- Fix UI styling issues in Docker environment
2025-07-12 23:29:42 +02:00

40 lines
987 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
# Base environment variables (common to all environments)
environment:
- DOCKER_ENV=true
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
- PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
- TRADINGVIEW_RECORD_VIDEO=true
- TZ=Europe/Berlin
# Playwright/TradingView automation settings
- CHROMIUM_PATH=/usr/bin/chromium
- DISABLE_CHROME_SANDBOX=true
- DISPLAY=:99
# Load environment variables from .env file
env_file:
- .env
# Default port mapping
ports:
- "3000:3000"
# Base volumes
volumes:
- ./screenshots:/app/screenshots
- ./videos:/app/videos
- ./.tradingview-session:/app/.tradingview-session
# Health check
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3000/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s