| # ================================================ | |
| # IE Research Platform - Production Profile | |
| # ================================================ | |
| # ================================================ | |
| # Logging (Production - minimal) | |
| # ================================================ | |
| logging.level.ir.ac.ut.ece.ie=WARN | |
| logging.level.root=WARN | |
| logging.level.org.springframework.web=ERROR | |
| logging.level.org.hibernate=ERROR | |
| # ================================================ | |
| # Database (Production - create/update schema automatically) | |
| # ================================================ | |
| spring.jpa.show-sql=false | |
| spring.jpa.hibernate.ddl-auto=update | |
| spring.jpa.properties.hibernate.format_sql=false | |
| # ================================================ | |
| # Error Handling (Production - hide stack traces) | |
| # ================================================ | |
| server.error.include-stacktrace=never | |
| server.error.include-message=never | |
| server.error.include-binding-errors=never | |
| # ================================================ | |
| # Actuator (Production - minimal exposure) | |
| # ================================================ | |
| management.endpoints.web.exposure.include=health,info | |
| management.endpoint.health.show-details=never | |
| management.info.env.enabled=false | |
| # ================================================ | |
| # Performance Tuning (Production) | |
| # ================================================ | |
| server.tomcat.threads.max=200 | |
| server.tomcat.threads.min-spare=10 | |
| server.tomcat.connection-timeout=20000 | |
| server.tomcat.max-connections=10000 | |
| # ================================================ | |
| # Cache (Production - use proper cache) | |
| # ================================================ | |
| spring.cache.type=simple | |
| spring.cache.cache-names=articles,users,collections | |
| # ================================================ | |
| # Graceful Shutdown (Production) | |
| # ================================================ | |
| server.shutdown=graceful | |
| spring.lifecycle.timeout-per-shutdown-phase=30s | |
| # ================================================ | |
| # Security Headers (Production) | |
| # ================================================ | |
| server.servlet.session.cookie.secure=true | |
| server.servlet.session.cookie.http-only=true | |
| server.servlet.session.cookie.same-site=Strict | |
| server.servlet.session.timeout=1800 | |
| # ================================================ | |
| # Compression (Production) | |
| # ================================================ | |
| server.compression.enabled=true | |
| server.compression.min-response-size=2048 | |
| server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml | |
| # ================================================ | |
| # Logging (Production - file rotation) | |
| # ================================================ | |
| logging.file.name=logs/application.log | |
| logging.logback.rollingpolicy.max-file-size=100MB | |
| logging.logback.rollingpolicy.max-history=30 | |
| logging.logback.rollingpolicy.total-size-cap=1GB | |
| # ================================================ | |
| # JWT (Production - use environment variables) | |
| # ================================================ | |
| app.jwt.secret=${JWT_SECRET:} | |
| app.jwt.expiration=86400000 | |
| app.jwt.refresh-expiration=604800000 | |
| # ================================================ | |
| # Database (Production - use environment variables) | |
| # ================================================ | |
| spring.datasource.url=${DB_URL:jdbc:mysql://db:3306/ierepo?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true} | |
| spring.datasource.username=${DB_USERNAME:dbuser} | |
| spring.datasource.password=${DB_PASSWORD:dbpassword} | |
| spring.datasource.driver-class-name=${DB_DRIVER:com.mysql.cj.jdbc.Driver} | |
| spring.jpa.database-platform=${DB_DIALECT:org.hibernate.dialect.MySQL8Dialect} | |
| # ================================================ | |
| # App (Production) | |
| # ================================================ | |
| app.url=${APP_URL:http://localhost:9092} | |
| app.name=IE Research Platform | |
| app.version=2.0.0 | |
| service.version=2.0.0 | |
| server.address=0.0.0.0 | |
Xet Storage Details
- Size:
- 3.96 kB
- Xet hash:
- 7b468ddd1578b02b65a686d004048fb9cf23b2967d8a5d0e3dc9473de50d1ffa
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.