| server.port=9092 | |
| upload.dir=./uploads | |
| templates.dir=./src/main/resources/Templates | |
| db.url=jdbc:sqlite:blog.db | |
| # Server | |
| server.port=9092 | |
| server.servlet.context-path=/ | |
| spring.main.allow-bean-definition-overriding=true | |
| # Database (SQLite) | |
| spring.datasource.url=jdbc:sqlite:data/ieresearch.db | |
| spring.datasource.driver-class-name=org.sqlite.JDBC | |
| spring.datasource.hikari.maximumPoolSize=10 | |
| spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect | |
| spring.jpa.hibernate.ddl-auto=update | |
| spring.jpa.show-sql=false | |
| spring.jpa.properties.hibernate.format_sql=true | |
| # Flyway | |
| spring.flyway.enabled=false | |
| # Redis | |
| spring.redis.host=localhost | |
| spring.redis.port=6379 | |
| spring.redis.password= | |
| spring.redis.timeout=2000ms | |
| # JWT | |
| app.jwt.secret=404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970 | |
| app.jwt.expiration=86400000 | |
| app.jwt.refresh-expiration=604800000 | |
| # Mail (SMTP) – replace with your provider | |
| spring.mail.host=smtp.gmail.com | |
| spring.mail.port=587 | |
| spring.mail.username=your-email@gmail.com | |
| spring.mail.password=your-app-password | |
| spring.mail.properties.mail.smtp.auth=true | |
| spring.mail.properties.mail.smtp.starttls.enable=true | |
| spring.mail.properties.mail.smtp.connectiontimeout=5000 | |
| spring.mail.properties.mail.smtp.timeout=5000 | |
| spring.mail.properties.mail.smtp.writetimeout=5000 | |
| # File uploads | |
| file.upload.directory=uploads | |
| file.upload.max-size=10485760 | |
| # Backup | |
| backup.directory=backups | |
| # Rate limiting | |
| rate.limit.capacity=60 | |
| rate.limit.refill.interval.ms=1000 | |
| rate.limit.refill.tokens=1 | |
| # App | |
| app.name=IE Research Platform | |
| app.url=http://localhost:9092 | |
| app.version=2.0.0 | |
| app.websocket.enabled=true | |
| websocket.port=9093 | |
| # Logging | |
| logging.level.root=INFO | |
| logging.level.ir.ac.ut.ece.ie=DEBUG | |
| logging.file.name=logs/application.log | |
| # =============================== | |
| # Server Configuration | |
| # =============================== | |
| server.port=9092 | |
| server.servlet.context-path=/ | |
| server.error.include-message=always | |
| server.error.include-binding-errors=always | |
| # =============================== | |
| # Database (SQLite) | |
| # =============================== | |
| spring.datasource.url=jdbc:sqlite:data/ieresearch.db | |
| spring.datasource.driver-class-name=org.sqlite.JDBC | |
| spring.datasource.hikari.maximumPoolSize=10 | |
| spring.datasource.hikari.connectionTimeout=30000 | |
| spring.datasource.hikari.idleTimeout=600000 | |
| spring.datasource.hikari.maxLifetime=1800000 | |
| # JPA | |
| spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect | |
| spring.jpa.hibernate.ddl-auto=validate | |
| spring.jpa.show-sql=false | |
| spring.jpa.properties.hibernate.format_sql=true | |
| spring.jpa.properties.hibernate.jdbc.batch_size=20 | |
| # =============================== | |
| # Flyway Migration | |
| # =============================== | |
| spring.flyway.enabled=true | |
| spring.flyway.baseline-on-migrate=true | |
| spring.flyway.baseline-version=0 | |
| spring.flyway.locations=classpath:db/migration | |
| spring.flyway.out-of-order=false | |
| # =============================== | |
| # Redis (Caching & WebSocket) | |
| # =============================== | |
| spring.redis.host=localhost | |
| spring.redis.port=6379 | |
| spring.redis.password= | |
| spring.redis.timeout=2000ms | |
| spring.redis.lettuce.pool.max-active=8 | |
| spring.redis.lettuce.pool.max-idle=8 | |
| spring.redis.lettuce.pool.min-idle=0 | |
| # =============================== | |
| # JWT Authentication | |
| # =============================== | |
| app.jwt.secret=404E635266556A586E3272357538782F413F4428472B4B6250645367566B5970 | |
| app.jwt.expiration=86400000 | |
| app.jwt.refresh-expiration=604800000 | |
| # =============================== | |
| # Email (SMTP) - Replace with your credentials | |
| # =============================== | |
| spring.mail.host=smtp.gmail.com | |
| spring.mail.port=587 | |
| spring.mail.username=your-email@gmail.com | |
| spring.mail.password=your-app-password | |
| spring.mail.properties.mail.smtp.auth=true | |
| spring.mail.properties.mail.smtp.starttls.enable=true | |
| spring.mail.properties.mail.smtp.connectiontimeout=5000 | |
| spring.mail.properties.mail.smtp.timeout=5000 | |
| spring.mail.properties.mail.smtp.writetimeout=5000 | |
| mail.from.name=IE Research Platform | |
| # =============================== | |
| # File Uploads | |
| # =============================== | |
| file.upload.directory=uploads | |
| file.upload.max-size=10485760 | |
| spring.servlet.multipart.max-file-size=10MB | |
| spring.servlet.multipart.max-request-size=10MB | |
| # =============================== | |
| # Backup | |
| # =============================== | |
| backup.directory=backups | |
| # =============================== | |
| # Rate Limiting | |
| # =============================== | |
| rate.limit.capacity=60 | |
| rate.limit.refill.interval.ms=1000 | |
| rate.limit.refill.tokens=1 | |
| # =============================== | |
| # App Information | |
| # =============================== | |
| app.name=IE Research Platform | |
| app.url=http://localhost:9092 | |
| app.version=2.0.0 | |
| app.websocket.enabled=true | |
| websocket.port=9093 | |
| # Firebase push notifications are disabled locally unless explicitly enabled. | |
| firebase.enabled=false | |
| # =============================== | |
| # AI Features (Add your API keys) | |
| # =============================== | |
| ai.openai.api.key= | |
| ai.openai.model=gpt-3.5-turbo | |
| ai.openai.embedding.model=text-embedding-3-small | |
| ai.perspective.api.key= | |
| ai.semantic-search.enabled=true | |
| ai.summarization.enabled=true | |
| ai.grammar.enabled=true | |
| ai.moderation.enabled=true | |
| ai.peer-review.enabled=true | |
| # =============================== | |
| # Logging | |
| # =============================== | |
| logging.level.root=INFO | |
| logging.level.ir.ac.ut.ece.ie=DEBUG | |
| logging.file.name=logs/application.log | |
| logging.logback.rollingpolicy.max-history=30 | |
| logging.logback.rollingpolicy.total-size-cap=100MB | |
| # =============================== | |
| # CORS (Override if needed) | |
| # =============================== | |
| cors.allowed.origins=http://localhost:5173,http://localhost:9092 | |
| cors.allowed.methods=GET,POST,PUT,DELETE,PATCH,OPTIONS | |
| cors.allowed.headers=* | |
| cors.allow-credentials=true | |
| # =============================== | |
| # Session & Security | |
| # =============================== | |
| session.timeout=86400 | |
| security.csrf.enabled=true | |
| security.csrf.ignored-paths=/api/auth/**,/api/public/**,/api/webhooks/** | |
| # =============================== | |
| # Cache | |
| # =============================== | |
| cache.default-ttl=3600 | |
| cache.max-size=1000 | |
Xet Storage Details
- Size:
- 6.01 kB
- Xet hash:
- f90c78641e9b74c620c9fec4742a6106888c486bc8f6a1abb0a1f0deb0439753
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.