chore: make spring start a bit faster

This commit is contained in:
MiniDigger | Martin 2024-10-12 16:15:44 +02:00
parent ea6d7fae7d
commit 1c17b96e34
4 changed files with 12 additions and 3 deletions

View File

@ -97,7 +97,7 @@ jobs:
- name: Lint frontend - name: Lint frontend
env: env:
DEBUG: "hangar:*" # DEBUG: "hangar:*"
run: (cd frontend && pnpm lint:oxlint && pnpm lint:eslint) run: (cd frontend && pnpm lint:oxlint && pnpm lint:eslint)
- name: Sync forth and back with crowdin - name: Sync forth and back with crowdin
@ -118,7 +118,7 @@ jobs:
# keep these in sync with compose! # keep these in sync with compose!
BACKEND_HOST: "http://hangar_backend:8080" BACKEND_HOST: "http://hangar_backend:8080"
PUBLIC_HOST: "https://hangar.papermc.dev" PUBLIC_HOST: "https://hangar.papermc.dev"
DEBUG: "hangar:*" # DEBUG: "hangar:*"
NODE_ENV: "production" NODE_ENV: "production"
run: (cd frontend && pnpm build) run: (cd frontend && pnpm build)

View File

@ -397,6 +397,7 @@
<groupId>org.openapitools</groupId> <groupId>org.openapitools</groupId>
<artifactId>openapi-generator-cli</artifactId> <artifactId>openapi-generator-cli</artifactId>
<version>${openapi-generator.version}</version> <version>${openapi-generator.version}</version>
<scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -40,6 +40,8 @@ spring:
kubernetes: kubernetes:
secrets: secrets:
enableApi: true enableApi: true
jmx:
enabled: false
# Enable this if you want to regenerate the frontend types # Enable this if you want to regenerate the frontend types
#springdoc: #springdoc:
@ -47,10 +49,13 @@ spring:
management: management:
endpoints: endpoints:
enabled-by-default: true enabled-by-default: false
web: web:
exposure: exposure:
include: "*" include: "*"
endpoint:
health:
enabled: true
hangar: hangar:
dev: true dev: true

View File

@ -12,6 +12,9 @@ spring:
- classpath:db/migration - classpath:db/migration
baseline-version: 0.0 baseline-version: 0.0
springdoc:
use-fqn: false
hangar: hangar:
disable-ratelimiting: true disable-ratelimiting: true
storage: storage: