docker config done

This commit is contained in:
2024-09-28 23:42:55 +05:30
parent e206968993
commit f41a1043c9
6 changed files with 58 additions and 13 deletions

View File

@ -7,7 +7,7 @@ import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Named;
@Mapper( )
@Mapper(componentModel = "spring")
public interface ProfessorMapper {
// @Mapping(target = "professorId", ignore = true) // Auto-generated

View File

@ -7,7 +7,7 @@ import org.mapstruct.Mapping;
import java.time.LocalDateTime;
@Mapper(imports = {LocalDateTime.class})
@Mapper(componentModel = "spring",imports = {LocalDateTime.class})
public interface UserMapper {
@Mapping(target = "isNotLocked", source = "notLocked")

View File

@ -24,6 +24,7 @@ spring:
enable: false
datasource:
url: jdbc:mysql://210.18.189.94:8098/demo
# url: jdbc:mysql://${MYSQL_HOST:db}:8098/demo
username: youruser
password: youruserpassword
driver-class-name: com.mysql.cj.jdbc.Driver