File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
java/io/f1/backend/global/config Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ public CorsConfigurationSource corsConfigurationSource() {
1515
1616 config .addAllowedOrigin ("http://localhost:3000" );
1717 config .addAllowedOrigin ("https://brainrace.duckdns.org" );
18+ config .addAllowedOrigin ("https://api-brainrace.duckdns.org" );
1819
1920 config .addAllowedHeader ("*" );
2021 config .addAllowedMethod ("*" );
Original file line number Diff line number Diff line change @@ -65,6 +65,29 @@ server:
6565 http-only : true
6666 timeout : ${SESSION_TIMEOUT}
6767---
68+ spring :
69+ config :
70+ activate :
71+ on-profile : dev
72+
73+ security :
74+ user :
75+ name : ${PROM_NAME}
76+ password : ${PROM_PASSWORD}
77+ roles : PROMETHEUS
78+
79+ management :
80+ server :
81+ port : ${ACTUATOR_PORT}
82+ endpoints :
83+ web :
84+ exposure :
85+ include : " prometheus"
86+ base-path : ${ACTUATOR_BASE_PATH}
87+ endpoint :
88+ prometheus :
89+ access : read_only
90+ ---
6891spring :
6992 config :
7093 activate :
@@ -76,6 +99,20 @@ spring:
7699 password : ${PROM_PASSWORD}
77100 roles : PROMETHEUS
78101
102+ # TODO: Flyway 추가와 함께 설정이 필요한 항목들
103+ # sql:
104+ # init:
105+ # mode: never
106+ #
107+ # jpa:
108+ # hibernate:
109+ # ddl-auto: none
110+ #
111+ # properties:
112+ # hibernate:
113+ # show_sql: false
114+ # format_sql: false
115+
79116management :
80117 server :
81118 port : ${ACTUATOR_PORT}
You can’t perform that action at this time.
0 commit comments