diff --git a/sns_service/docker-compose.yaml b/sns_service/docker-compose.yaml index 71fe615..12ee62a 100644 --- a/sns_service/docker-compose.yaml +++ b/sns_service/docker-compose.yaml @@ -5,8 +5,8 @@ services: image: "mysql:8.0" container_name: sns-mysql ports: - - "33060:3306" + - "33061:3306" environment: MYSQL_DATABASE: sns-db MYSQL_ROOT_PASSWORD: 1234 - command: [ '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci' ] \ No newline at end of file + command: [ '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci' ] diff --git a/sns_service/src/main/resources/application.yaml b/sns_service/src/main/resources/application.yaml index 10d78d2..2de5bc9 100644 --- a/sns_service/src/main/resources/application.yaml +++ b/sns_service/src/main/resources/application.yaml @@ -2,7 +2,7 @@ spring: datasource: username: root password: 1234 - url: jdbc:mysql://localhost:33060/sns-db?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&useLegacyDatetimeCode=false + url: jdbc:mysql://localhost:33061/sns-db?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&useLegacyDatetimeCode=false driver-class-name: com.mysql.cj.jdbc.Driver jpa: @@ -12,4 +12,4 @@ spring: hibernate: show_sql: true format_sql: true - dialect: org.hibernate.dialect.MySQL8Dialect \ No newline at end of file + dialect: org.hibernate.dialect.MySQL8Dialect