services:
  notionai:
    image: node:18
    working_dir: /app
    volumes:
      - ./:/app
    ports:
      - "3004:3000"
    environment:
      - NODE_ENV=production
      - NEON_DB_URL=${NEON_DB_URL}  # Use the environment variable from .env.local
    command: ["npm", "run", "dev"]

  redis:
    image: redis:latest
    restart: always
    ports:
      - "6379:6379"
