Hangar/docker/deployment/hangar-backend/application.yml

35 lines
882 B
YAML
Raw Normal View History

2020-09-02 06:00:51 +08:00
spring:
datasource:
url: jdbc:postgresql://db:26257/hangar
2021-07-01 02:34:27 +08:00
username: "${POSTGRES_USER}"
password: "${POSTGRES_PASSWORD}"
2020-09-02 06:00:51 +08:00
fake-user:
enabled: false
2020-09-02 06:00:51 +08:00
hangar:
2021-02-10 07:56:02 +08:00
dev: false
base-url: "https://hangar.benndorf.dev"
plugin-upload-dir: "/hangar/uploads"
2020-09-02 06:00:51 +08:00
announcements:
-
text: "This is a staging server for testing purposes. Data could be deleted at any time. email confirmations are disabled. If you wanna help test, sneak into #hangar-dev"
color: "#ff544b"
2020-09-02 06:00:51 +08:00
sso:
auth-url: "https://hangar-auth.benndorf.dev"
oauth-url: "https://hangar-auth.benndorf.dev/hydra"
client-id: "${SSO_CLIENT_ID}"
2020-09-02 06:00:51 +08:00
security:
api:
url: "https://hangar-auth.benndorf.dev"
avatar-url: "https://hangar-auth.benndorf.dev/avatar/%s?size=120x120"
2021-07-01 05:19:04 +08:00
token-secret: "${TOKEN_SECRET}"
2020-11-03 09:38:25 +08:00
logging:
level:
root: INFO
org.springframework: INFO