NCP-1 add docker-compose.yaml,dockerfile and application.yaml

This commit is contained in:
vladp
2025-11-23 23:25:58 +07:00
parent 70651031be
commit 2b11f55bab
3 changed files with 88 additions and 3 deletions
+18 -3
View File
@@ -1,3 +1,18 @@
пspring:
application:
name: no-copy
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:no-copy-db}?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC
username: ${DB_USERNAME:mysql_user}
password: ${DB_PASSWORD:mysql_pass}
jpa:
hibernate:
ddl-auto: update
show-sql: true
server:
port: ${SERVER_PORT:8080}
logging:
level:
root: INFO