configurable url

This commit is contained in:
Stefan Hardegger
2025-07-24 08:03:56 +02:00
parent 4bbc14d165
commit 77ad643eac
15 changed files with 257 additions and 26 deletions

View File

@@ -23,6 +23,10 @@ server:
port: 8080
storycove:
app:
public-url: ${STORYCOVE_PUBLIC_URL:http://localhost:6925}
cors:
allowed-origins: ${STORYCOVE_CORS_ALLOWED_ORIGINS:http://localhost:3000,http://localhost:6925}
jwt:
secret: ${JWT_SECRET:default-secret-key}
expiration: 86400000 # 24 hours