소스 수정
This commit is contained in:
@@ -86,3 +86,23 @@ services:
|
|||||||
- GLOW_COMMUNICATION_EXTMCI_PORT=8081
|
- GLOW_COMMUNICATION_EXTMCI_PORT=8081
|
||||||
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
|
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
|
||||||
- GLOW_COMMUNICATION_EAI_PORT=8081
|
- GLOW_COMMUNICATION_EAI_PORT=8081
|
||||||
|
\n payment:
|
||||||
|
build:
|
||||||
|
context: ./payment
|
||||||
|
ports:
|
||||||
|
- "8085:8085"
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Seoul
|
||||||
|
- SPRING_REDIS_HOST=redis
|
||||||
|
- SPRING_REDIS_PORT=6379
|
||||||
|
- SPRING_DATA_REDIS_PORT=6379
|
||||||
|
- AXHUB_GATEWAY_URL=http://gateway:8081
|
||||||
|
- AXHUB_TOOL_URL=http://payment:8085
|
||||||
|
- GLOW_COMMUNICATION_MCI_HOST=http://gateway
|
||||||
|
- GLOW_COMMUNICATION_MCI_PORT=8081
|
||||||
|
- GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway
|
||||||
|
- GLOW_COMMUNICATION_EXTMCI_PORT=8081
|
||||||
|
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
|
||||||
|
- GLOW_COMMUNICATION_EAI_PORT=8081
|
||||||
|
|||||||
4
payment/Dockerfile
Normal file
4
payment/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
FROM eclipse-temurin:21-jdk-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
COPY build/libs/payment-0.0.1-SNAPSHOT.jar app.jar
|
||||||
|
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||||
10
payment/build.gradle
Normal file
10
payment/build.gradle
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
plugins {
|
||||||
|
id 'org.springframework.boot'
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
implementation project(':axhub-tool-core')
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
compileOnly 'org.projectlombok:lombok:1.18.32'
|
||||||
|
annotationProcessor 'org.projectlombok:lombok:1.18.32'
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package io.shinhanlife.axhub.biz.mcp.tool.payment;
|
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
import org.springframework.cache.annotation.EnableCaching;
|
||||||
|
|
||||||
|
@EnableCaching
|
||||||
|
@SpringBootApplication(scanBasePackages = "io.shinhanlife.axhub.biz.mcp")
|
||||||
|
public class PaymentToolApplication {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(PaymentToolApplication.class, args);
|
||||||
|
}
|
||||||
|
}
|
||||||
12
payment/src/main/resources/application-local.yml
Normal file
12
payment/src/main/resources/application-local.yml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
spring:
|
||||||
|
application:
|
||||||
|
name: payment
|
||||||
|
config:
|
||||||
|
import: "classpath:config/application-glow-local.yml"
|
||||||
|
|
||||||
|
server:
|
||||||
|
port: 8085
|
||||||
|
|
||||||
|
axhub:
|
||||||
|
tool:
|
||||||
|
url: "http://payment:8085"
|
||||||
@@ -6,3 +6,4 @@ include 'axhub-tool-core'
|
|||||||
include 'axhub-tool-sms'
|
include 'axhub-tool-sms'
|
||||||
include 'axhub-tool-email'
|
include 'axhub-tool-email'
|
||||||
include 'axhub-tool-other'
|
include 'axhub-tool-other'
|
||||||
|
\ninclude 'payment'\n
|
||||||
Reference in New Issue
Block a user