Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ MAIL_SMTP_WRITE_TIMEOUT=5000
GOOGLE_CLIENT_ID=change-me.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=change-me
APP_OAUTH2_REDIRECT_URI=http://localhost:3000/oauth2/redirect
OPENAI_API_KEY=change-me

MANAGEMENT_HEALTH_SHOW_DETAILS=always
1 change: 1 addition & 0 deletions .env.production.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ MAIL_SMTP_WRITE_TIMEOUT=5000
GOOGLE_CLIENT_ID=change-me.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=change-me
APP_OAUTH2_REDIRECT_URI=https://your-frontend-domain/oauth2/redirect
OPENAI_API_KEY=change-me

MANAGEMENT_HEALTH_SHOW_DETAILS=never
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ dependencies {

//swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13'
implementation 'io.swagger.core.v3:swagger-core-jakarta:2.2.36'
implementation 'io.swagger.core.v3:swagger-annotations-jakarta:2.2.36'
implementation 'io.swagger.core.v3:swagger-models-jakarta:2.2.36'
implementation 'org.springframework.retry:spring-retry'
implementation 'org.springframework.boot:spring-boot-starter-aop'

Expand Down
1 change: 1 addition & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
- .env
environment:
SPRING_PROFILES_ACTIVE: prod
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
ports:
- "${APP_PORT:-8080}:8080"
restart: unless-stopped
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
REDIS_PORT: 6379
REDIS_PASSWORD:
REDIS_SSL_ENABLED: false
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
ports:
- "8080:8080"
depends_on:
Expand Down
Loading