Files
whyrating-engine-legacy/docker-compose.nuc.yml
2026-02-02 18:19:00 +00:00

26 lines
731 B
YAML

# NUC Docker Compose Override
# Uses NUC-hosted PostgreSQL instead of local container
#
# Usage:
# cp .env.nuc .env
# docker compose -f docker-compose.production.yml -f docker-compose.nuc.yml up -d
#
# This removes the local db service and connects API to NUC database
version: '3.8'
services:
# Disable local database (using NUC instead)
db:
profiles:
- disabled
# API Server - connect to NUC database
api:
environment:
- DATABASE_URL=postgresql://scraper:scraper_nuc_2026@192.168.1.3:5437/scraper
- REVIEWIQ_DATABASE_URL=postgresql://scraper:scraper_nuc_2026@192.168.1.3:5437/scraper
depends_on: [] # Remove db dependency
extra_hosts:
- "host.docker.internal:host-gateway"