# docker-compose برای وب‌اپ ازدواج (Marriage WebApp) # منبع واحد متغیرها در پروداکشن: فایل .env.production services: web: build: context: . dockerfile: Dockerfile args: NEXT_PUBLIC_API_BASE_URL: https://habibapp.com NEXT_PUBLIC_SECURITY_KEY: t5yugymks5458fd4ghfg6h6fg image: marriage-web:latest container_name: marriage-web restart: unless-stopped env_file: - .env.production ports: - "5561:3000" environment: - NODE_ENV=production - NEXT_PUBLIC_API_BASE_URL=https://habibapp.com - NEXT_PUBLIC_SECURITY_KEY=t5yugymks5458fd4ghfg6h6fg healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3000/healthz"] interval: 30s timeout: 5s retries: 3 start_period: 15s networks: - najm_najm networks: najm_najm: external: true