build: 용인시 마약류 시스템 정보 설정 반영

dev
Jonguk. Lim 5 months ago
parent 0d96ee3407
commit a89e6c2ef6

@ -0,0 +1,12 @@
package cokr.xit.adds;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(XitBootApplication.class);
}
}

@ -7,6 +7,7 @@ import org.springframework.boot.context.ApplicationPidFileWriter;
import cokr.xit.base.boot.XitBaseApplication; import cokr.xit.base.boot.XitBaseApplication;
public class XitBootApplication extends XitBaseApplication { public class XitBootApplication extends XitBaseApplication {
public static void main(String[] args) { public static void main(String[] args) {

@ -90,13 +90,13 @@ propertyService:
app: app:
api: api:
#host: http://211.119.124.9:9076 #host: http://211.119.124.9:9076
host: 'http://localhost:9076' host: 'http://localhost:8098'
--- ---
spring: spring:
config: config:
activate: activate:
on-profile: prod on-profile: dev
datasource: datasource:
hikari: hikari:
@ -119,3 +119,31 @@ app:
data: data:
root: root:
path: /data/adds path: /data/adds
---
spring:
config:
activate:
on-profile: prod
datasource:
hikari:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
jdbc-url: jdbc:log4jdbc:mariadb://105.19.10.69:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false
username: addsweb
password: addsweb1234
auto-commit: false
server:
port: 8081
propertyService:
properties:
- defaultPassword: 0
app:
api:
host: http://105.19.10.69:8098
data:
root:
path: /data/adds

Loading…
Cancel
Save