Updated Dockerfile
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-03-09 18:32:09 +07:00
parent a519d68249
commit 84fbf6debc
6 changed files with 34 additions and 57 deletions

View File

@@ -8,8 +8,8 @@ plugins {
kotlin("plugin.jpa")
}
val kotlinVersion = "1.7.22"
val springBootVersion = "3.0.0"
val kotlinVersion = "1.8.10"
val springBootVersion = "3.0.4"
// find the last commit
fun getGitHashLastCommit(): String {
@@ -60,3 +60,7 @@ dependencies {
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<org.springframework.boot.gradle.tasks.bundling.BootJar> {
archiveFileName.set("api.jar")
}

View File

@@ -1,5 +1,5 @@
http:
port: ${HTTP_PORT:8080}
port: ${PORT:8080}
server:
port: ${SERVER_PORT:8443}
ssl:
@@ -15,10 +15,6 @@ spring:
active: ${APP_PROFILE:demo}
application:
name: ${SERVICE_NAME:cubetiq-api-service}
redis:
enabled: ${REDIS_ENABLED:false}
host: ${REDIS_HOST:localhost}
password: ${REDIS_PASSWORD:null}
datasource:
enabled: ${DATASOURCE_ENABLED:true}
driverClassName: ${DATASOURCE_DRIVER_CLASS_NAME:org.h2.Driver}
@@ -32,8 +28,12 @@ spring:
database-platform: ${JPA_DATABASE_PLATFORM:org.hibernate.dialect.H2Dialect}
data:
redis:
enabled: ${REDIS_ENABLED:false}
host: ${REDIS_HOST:localhost}
password: ${REDIS_PASSWORD:null}
repositories:
enabled: ${DATA_REDIS_REPOSITORIES_ENABLED:false}
modules:
user:
enabled: ${MODULE_USER_ENABLED:true}