mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-03-07 15:31:00 +08:00
chore: make spring start a bit faster
This commit is contained in:
parent
ea6d7fae7d
commit
1c17b96e34
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -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)
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user