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

View File

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

View File

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

View File

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