version: '3.8' services: # ============================================================================ # D3RO Voice — Core Cloud API Server & Official Promotion Landing Site # ============================================================================ d3ro-api-server: build: context: ./apps/api-server dockerfile: Dockerfile image: d3ro-voice-api:latest container_name: d3ro_voice_api restart: unless-stopped ports: - "${PORT:-5050}:5000" environment: - ASPNETCORE_ENVIRONMENT=Production - ASPNETCORE_URLS=http://+:5000 - DATA_DIR=/app/data - JWT_SECRET=${JWT_SECRET:-D3ROVoice_Super_Secure_Secret_Key_2026_Key!} - TZ=${TZ:-Asia/Seoul} volumes: - ${DATA_PATH:-./data}:/app/data logging: driver: "json-file" options: max-size: "10m" max-file: "3" # ============================================================================ # D3RO Voice — Full Next.js 15 Admin CRM Portal (@d3ro/admin) # ============================================================================ d3ro-admin: build: context: . dockerfile: apps/admin/Dockerfile image: d3ro-voice-admin:latest container_name: d3ro_voice_admin restart: unless-stopped ports: - "${ADMIN_PORT:-3001}:3001" environment: - NODE_ENV=production - PORT=3001 - NEXT_PUBLIC_API_URL=${PUBLIC_URL:-https://d3ro.chanpaca.net} depends_on: - d3ro-api-server logging: driver: "json-file" options: max-size: "10m" max-file: "3" # ============================================================================ # Optional: Local AI Engine on NAS (Ollama) # Run with: docker compose --profile ai up -d # ============================================================================ ollama: image: ollama/ollama:latest container_name: d3ro_ollama restart: unless-stopped profiles: - ai ports: - "11434:11434" volumes: - ${OLLAMA_DATA_PATH:-./ollama_data}:/root/.ollama logging: driver: "json-file" options: max-size: "10m" max-file: "3" volumes: d3ro_data: