Skip to content

Commit

Permalink
feat :: domain 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Aug 1, 2024
1 parent 92deb70 commit 1f76371
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ data class SetContainerConfigRequest(

data class ContainerConfigDetails(
val branch: String,
val containerPort: Int
val containerPort: Int,
val domain: String
)

Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ class SetContainerConfigService(
deploy = deploy,
containerEnvironment = environment,
lastDeploy = LocalDateTime.now(),
subDomain = null,
subDomain = config.domain,
environmentVariable = container?.environmentVariable ?: mapOf(),
githubBranch = config.branch,
containerPort = config.containerPort
containerPort = config.containerPort,
)
)

Expand All @@ -72,7 +72,8 @@ class SetContainerConfigService(
"repository" to deploy.repository,
"branch" to container.githubBranch!!,
"environment" to container.containerEnvironment.name,
"containerPort" to container.containerPort!!
"containerPort" to container.containerPort!!,
"domain" to container.subDomain!!
)
)
)
Expand Down

0 comments on commit 1f76371

Please sign in to comment.