services:
  monkeys:
    build: .
    container_name: monkeys-app
    ports:
      - "3000:3000"
    volumes:
      - ./data:/app/server/data
    environment:
      - PORT=3000
      - DB_PATH=/app/server/data/monkey.db
      - LETTERS_CACHE_SIZE=1000
      - LETTER_GENERATION_INTERVAL=800
      - MAX_SUBMISSIONS_PER_HOUR=1
      - MAX_UPVOTES_PER_DAY=10
      - LOG_LETTERS=false
    restart: unless-stopped
