24 lines
664 B
YAML
24 lines
664 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
target: deps
|
|
command: npm run dev
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
- /app/node_modules
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
DATABASE_URL: postgresql://film:film@db:5432/film
|
|
TMDB_API_KEY: ${TMDB_API_KEY}
|
|
LLM_API_KEY: ${LLM_API_KEY}
|
|
LLM_BASE_URL: ${LLM_BASE_URL:-https://openrouter.ai/api/v1}
|
|
LLM_MODEL: ${LLM_MODEL:-openai/gpt-4o-mini}
|
|
LLM_HTTP_REFERER: ${LLM_HTTP_REFERER:-http://localhost:3000}
|
|
LLM_APP_TITLE: ${LLM_APP_TITLE:-Film Intel}
|
|
WATCHPACK_POLLING: "true"
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy |