Files
aura-trade/docker-compose.yml
T

76 lines
3.3 KiB
YAML

version: "3.8"
services:
aura-quant-backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: aura-quant-backend
restart: always
environment:
- ENVIRONMENT=production
- PORT=8085
- TARGET_SYMBOL=XAUUSD
- MAX_RISK_PER_TRADE_PERCENT=1.0
- MAX_DAILY_DRAWDOWN_PERCENT=2.5
- MAX_SPREAD_PIPS=25.0
- MIN_CONFLUENCE_SCORE=85
- EXNESS_ACCOUNT_ID=${EXNESS_ACCOUNT_ID:-425437997}
- EXNESS_PASSWORD=${EXNESS_PASSWORD:-}
- EXNESS_SERVER=${EXNESS_SERVER:-Exness-MT5Real15}
- ADMIN_PIN=${ADMIN_PIN:-2671}
- ADMIN_TOKEN=${ADMIN_TOKEN:-AuraTrade-Master-Secret-2671$}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-8622249634:AAFyJk4eaH3txNVIJ36m-48z8ib4mCUJjfg}
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID:-7107005438}
networks:
- coolify
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.gzip.compress=true"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.routers.http-trade-be.entryPoints=http"
- "traefik.http.routers.http-trade-be.rule=Host(`trade.auraajenticai.cloud`) && (PathPrefix(`/api`) || PathPrefix(`/ws`) || PathPrefix(`/docs`) || PathPrefix(`/openapi.json`))"
- "traefik.http.routers.http-trade-be.priority=100"
- "traefik.http.routers.http-trade-be.middlewares=redirect-to-https"
- "traefik.http.routers.https-trade-be.entryPoints=https"
- "traefik.http.routers.https-trade-be.rule=Host(`trade.auraajenticai.cloud`) && (PathPrefix(`/api`) || PathPrefix(`/ws`) || PathPrefix(`/docs`) || PathPrefix(`/openapi.json`))"
- "traefik.http.routers.https-trade-be.priority=100"
- "traefik.http.routers.https-trade-be.service=https-trade-be"
- "traefik.http.routers.https-trade-be.tls=true"
- "traefik.http.routers.https-trade-be.tls.certresolver=letsencrypt"
- "traefik.http.services.https-trade-be.loadbalancer.server.port=8085"
aura-quant-frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: aura-quant-frontend
restart: always
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=https://trade.auraajenticai.cloud
- NEXT_PUBLIC_WS_URL=wss://trade.auraajenticai.cloud/ws/stream
depends_on:
- aura-quant-backend
networks:
- coolify
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.gzip.compress=true"
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
- "traefik.http.routers.http-trade-fe.entryPoints=http"
- "traefik.http.routers.http-trade-fe.rule=Host(`trade.auraajenticai.cloud`)"
- "traefik.http.routers.http-trade-fe.priority=90"
- "traefik.http.routers.http-trade-fe.middlewares=redirect-to-https"
- "traefik.http.routers.https-trade-fe.entryPoints=https"
- "traefik.http.routers.https-trade-fe.rule=Host(`trade.auraajenticai.cloud`)"
- "traefik.http.routers.https-trade-fe.priority=90"
- "traefik.http.routers.https-trade-fe.service=https-trade-fe"
- "traefik.http.routers.https-trade-fe.tls=true"
- "traefik.http.routers.https-trade-fe.tls.certresolver=letsencrypt"
- "traefik.http.services.https-trade-fe.loadbalancer.server.port=3000"
networks:
coolify:
external: true