NCP-1 add docker-compose.yaml,dockerfile and application.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user