first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
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}
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
POSTGRES_USER: film
|
||||
POSTGRES_PASSWORD: film
|
||||
POSTGRES_DB: film
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U film -d film"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in New Issue
Block a user