Files
Prisma/docker-compose.yml
2026-01-23 06:55:34 +00:00

23 lines
507 B
YAML

version: '3.8'
services:
# Production service
prisma:
build:
context: .
dockerfile: Dockerfile
target: production
container_name: prisma-app
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- GEMINI_API_KEY=${GEMINI_API_KEY}
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
interval: 30s
timeout: 3s
start_period: 5s
retries: 3