Spaces:
Running
Running
version: '3' | |
services: | |
nextjs-app: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
ports: | |
- "3000:3000" | |
environment: | |
- NODE_ENV=production | |
- GEMINI_API_KEY=${GEMINI_API_KEY:-AIzaSyBZqvjHhfLn_XzGYkNCWRA0PNQ6r2CUy_Y} | |
- GCP_CLIENT_EMAIL=${GCP_CLIENT_EMAIL:[email protected]} | |
restart: unless-stopped | |
healthcheck: | |
test: ["CMD", "wget", "--spider", "http://localhost:3000"] | |
interval: 30s | |
timeout: 10s | |
retries: 3 |