Files
sundol/sundol-backend/src/main/resources/application.yml
joungmin 0cc84354f5 Add Jina Reader API fallback for web crawling
Jsoup fails on bot-blocked sites (403). Now tries Jsoup first,
then falls back to Jina Reader (r.jina.ai) for better coverage.
Supports optional API key via JINA_READER_API_KEY env var.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 22:03:09 +00:00

39 lines
983 B
YAML

server:
port: ${SERVER_PORT:8080}
oracle:
wallet-path: ${ORACLE_WALLET_PATH}
tns-name: ${ORACLE_TNS_NAME}
username: ${ORACLE_USERNAME}
password: ${ORACLE_PASSWORD}
jwt:
secret: ${JWT_SECRET}
access-token-expiry: ${JWT_ACCESS_TOKEN_EXPIRY:900000}
refresh-token-expiry: ${JWT_REFRESH_TOKEN_EXPIRY:604800000}
google:
client-id: ${GOOGLE_CLIENT_ID}
client-secret: ${GOOGLE_CLIENT_SECRET}
redirect-uri: ${GOOGLE_REDIRECT_URI:https://sundol.cloud-handson.com/login/callback}
cors:
origin: ${CORS_ORIGIN:http://localhost:3000}
oci:
compartment-id: ${OCI_COMPARTMENT_ID:}
region: ${OCI_REGION:ap-seoul-1}
genai:
api-key: ${OCI_GENAI_API_KEY:}
compartment: ${OCI_GENAI_COMPARTMENT:}
model: ${OCI_GENAI_MODEL:google.gemini-2.5-flash}
base-url: ${OCI_GENAI_BASE_URL:https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/20231130/actions}
jina:
reader:
api-key: ${JINA_READER_API_KEY:}
logging:
level:
com.sundol: DEBUG