admin/front 분리2
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
spring:
|
||||
application:
|
||||
name: api
|
||||
datasource:
|
||||
url: jdbc:log4jdbc:mariadb://121.160.234.222:3000/ALISTLMS?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&connectionCollation=utf8mb4_uca1400_ai_ci
|
||||
username: alist_dev
|
||||
@@ -24,6 +22,7 @@ spring:
|
||||
migration:
|
||||
datasource:
|
||||
alist:
|
||||
enabled: true
|
||||
jdbc-url: jdbc:log4jdbc:sqlserver://bigfuntnp.co.kr:51433;databaseName=alist_dev;encrypt=false;trustServerCertificate=true
|
||||
username: bigfuntnp
|
||||
password: password12!@
|
||||
@@ -32,6 +31,7 @@ migration:
|
||||
minimum-idle: 1
|
||||
connection-timeout: 10000
|
||||
eltown:
|
||||
enabled: true
|
||||
jdbc-url: jdbc:log4jdbc:sqlserver://bigfuntnp.co.kr:51433;databaseName=eltown;encrypt=false;trustServerCertificate=true
|
||||
username: bigfuntnp
|
||||
password: password12!@
|
||||
@@ -51,7 +51,6 @@ jwt:
|
||||
cookie:
|
||||
secure: false # (HTTP) -> false
|
||||
domain: # (HTTP) -> 비워두세요
|
||||
name: ALIST_SSO
|
||||
same-site: Lax # (HTTP) -> Lax
|
||||
|
||||
swagger:
|
||||
@@ -59,32 +58,11 @@ swagger:
|
||||
id: alist
|
||||
password: "1qaz2wsx!@"
|
||||
|
||||
tus-file:
|
||||
upload:
|
||||
tus-endpoint: https://file-alist.pjt.kr/tus/file/
|
||||
public-base-url: https://file-alist.pjt.kr
|
||||
tmp-root: /srv/project/alist/uploads/tmp
|
||||
final-root: /srv/project/alist/uploads
|
||||
interrupt-seconds: 30
|
||||
auth-cache:
|
||||
ttl-seconds: 20
|
||||
|
||||
# types:
|
||||
# notice:
|
||||
# folder: notice 저장폴더
|
||||
# max-size: 20MB 최대 용량
|
||||
# image-only: false
|
||||
# resize:
|
||||
# enabled: true
|
||||
# width: 800 고정넓이
|
||||
# height: 600 고정높이
|
||||
# max-width: 1200 최대 넓이
|
||||
|
||||
file:
|
||||
storage:
|
||||
root-path: /srv/project/alist/uploads
|
||||
view-domain: http://localhost:8110
|
||||
upload:
|
||||
view:
|
||||
file-domain: http://localhost:8110
|
||||
root-path: ${tus-file.upload.final-root}
|
||||
max-size: 10MB
|
||||
allowed-extensions: [jpg, jpeg, png, gif, pdf, hwp, hwpx, doc, docx, xls, xlsx, ppt, pptx, txt, csv, zip]
|
||||
types:
|
||||
@@ -116,4 +94,4 @@ sso:
|
||||
code:
|
||||
ttl-seconds: 300
|
||||
cookie:
|
||||
name: ALIST_SSO
|
||||
name: ALIST_SSO
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
spring:
|
||||
application:
|
||||
name: api
|
||||
main:
|
||||
banner-mode: log
|
||||
datasource:
|
||||
@@ -26,6 +24,7 @@ spring:
|
||||
migration:
|
||||
datasource:
|
||||
alist:
|
||||
enabled: true
|
||||
jdbc-url: jdbc:log4jdbc:sqlserver://${ALIST_DB_HOST}:${ALIST_DB_PORT};databaseName=${ALIST_DB_NAME};encrypt=false;trustServerCertificate=true
|
||||
username: ${ALIST_DB_USERNAME}
|
||||
password: ${ALIST_DB_PASSWORD}
|
||||
@@ -34,6 +33,7 @@ migration:
|
||||
minimum-idle: 1
|
||||
connection-timeout: 10000
|
||||
eltown:
|
||||
enabled: true
|
||||
jdbc-url: jdbc:log4jdbc:sqlserver://${ELTOWN_DB_HOST}:${ELTOWN_DB_PORT};databaseName=${ELTOWN_DB_NAME};encrypt=false;trustServerCertificate=true
|
||||
username: ${ELTOWN_DB_USERNAME}
|
||||
password: ${ELTOWN_DB_PASSWORD}
|
||||
@@ -52,8 +52,7 @@ jwt:
|
||||
|
||||
cookie:
|
||||
secure: true # 프로젝트 환경 (HTTPS)
|
||||
domain: api-alist.pjt.kr
|
||||
name: ALIST_SSO
|
||||
domain: apifront-alist.pjt.kr
|
||||
same-site: None
|
||||
|
||||
swagger:
|
||||
@@ -61,32 +60,11 @@ swagger:
|
||||
id: ${SWAGGER_ID}
|
||||
password: ${SWAGGER_PASSWORD}
|
||||
|
||||
tus-file:
|
||||
upload:
|
||||
tus-endpoint: https://file-alist.pjt.kr/tus/file/
|
||||
public-base-url: https://file-alist.pjt.kr
|
||||
tmp-root: /srv/project/alist/uploads/tmp
|
||||
final-root: /srv/project/alist/uploads
|
||||
interrupt-seconds: 30
|
||||
auth-cache:
|
||||
ttl-seconds: 20
|
||||
|
||||
# types:
|
||||
# notice:
|
||||
# folder: notice 저장폴더
|
||||
# max-size: 20MB 최대 용량
|
||||
# image-only: false
|
||||
# resize:
|
||||
# enabled: true
|
||||
# width: 800 고정넓이
|
||||
# height: 600 고정높이
|
||||
# max-width: 1200 최대 넓이
|
||||
|
||||
file:
|
||||
storage:
|
||||
root-path: /srv/project/alist/uploads
|
||||
view-domain: https://file-alist.pjt.kr
|
||||
upload:
|
||||
view:
|
||||
file-domain: https://file-alist.pjt.kr
|
||||
root-path: ${tus-file.upload.final-root}
|
||||
max-size: 10MB
|
||||
allowed-extensions: [jpg, jpeg, png, gif, pdf, hwp, hwpx, doc, docx, xls, xlsx, ppt, pptx, txt, csv, zip]
|
||||
types:
|
||||
@@ -118,4 +96,4 @@ sso:
|
||||
code:
|
||||
ttl-seconds: 300
|
||||
cookie:
|
||||
name: ALIST_SSO
|
||||
name: ALIST_SSO
|
||||
|
||||
Reference in New Issue
Block a user