services:
  web:
    image: bigbreathe
    build:
      context: .
      dockerfile: Dockerfile
    container_name: bigbreathe-web
    ports:
      - "8011:80"
    environment:
      SEND_FROM_EMAIL:      ${SEND_FROM_EMAIL:-}
      SEND_TO_EMAIL:        ${SEND_TO_EMAIL:-}
      SEND_FROM_DOMAIN:     ${SEND_FROM_DOMAIN:-}
      RESEND_API_KEY:       ${RESEND_API_KEY:-}
      RECAPTCHA_SECRET_KEY: ${RECAPTCHA_SECRET_KEY:-}
      RATE_LIMIT_PER_IP_PER_10MIN: ${RATE_LIMIT_PER_IP_PER_10MIN:-5}
      SCORE_PASS:           ${SCORE_PASS:-0.7}
      SCORE_REVIEW:         ${SCORE_REVIEW:-0.4}
      TIME_MIN_SECONDS:     ${TIME_MIN_SECONDS:-3}
    restart: unless-stopped
