More ActivityPub

This commit is contained in:
Tim Zöller 2025-11-28 09:00:07 +01:00
parent fe5bc54e92
commit 1901daf5ce
17 changed files with 593 additions and 78 deletions

View file

@ -0,0 +1,54 @@
# Development profile configuration
# Activated with: mvn spring-boot:run -Dspring-boot.run.profiles=dev
spring:
# Development datasource is handled by Testcontainers (see TestcontainersConfiguration)
# No need to configure datasource here - it's automatically configured
jpa:
hibernate:
ddl-auto: update # Auto-update schema in dev mode
show-sql: true # Show SQL queries in console
properties:
hibernate:
format_sql: true # Format SQL for readability
use_sql_comments: true # Add comments to SQL
# Development-specific FitPub configuration
fitpub:
domain: ${FITPUB_DOMAIN:localhost:8080}
base-url: ${FITPUB_BASE_URL:http://localhost:8080}
activitypub:
enabled: true
max-federation-retries: 3
request-timeout-seconds: 30
security:
jwt:
# Use a default secret for development (override with env var for security)
secret: ${JWT_SECRET:dev-secret-key-change-in-production-must-be-at-least-32-characters-long}
expiration: 86400000 # 24 hours
storage:
fit-files:
enabled: true
retention-days: 365
# Logging - verbose in development
logging:
level:
root: INFO
org.operaton.fitpub: DEBUG
org.hibernate.SQL: DEBUG
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.springframework.security: DEBUG
org.springframework.web: DEBUG
# Server configuration
server:
port: ${PORT:8080}
error:
include-message: always
include-binding-errors: always
include-stacktrace: always # Show stack traces in dev mode