Skip to content

Commit

Permalink
fix : 배포 에러 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sangminee committed Nov 1, 2023
1 parent 08518e8 commit 51dee7a
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 131 deletions.
76 changes: 39 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,45 @@

application.yml

# User-specific situff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
.idea

## User-specific situff
#.idea/**/workspace.xml
#.idea/**/tasks.xml
#.idea/**/usage.statistics.xml
#.idea/**/dictionaries
#.idea/**/shelf
#
## AWS User-specific
#.idea/**/aws.xml
#
## Generated files
#.idea/**/contentModel.xml
#
## Sensitive or high-churn files
#.idea/**/dataSources/
#.idea/**/dataSources.ids
#.idea/**/dataSources.local.xml
#.idea/**/sqlDataSources.xml
#.idea/**/dynamic.xml
#.idea/**/uiDesigner.xml
#.idea/**/dbnavigator.xml
#
## Gradle
#.idea/**/gradle.xml
#.idea/**/libraries
#
## Gradle and Maven with auto-import
## When using Gradle or Maven with auto-import, you should exclude module files,
## since they will be recreated, and may cause churn. Uncomment if using
## auto-import.
## .idea/artifacts
## .idea/compiler.xml
## .idea/jarRepositories.xml
## .idea/modules.xml
## .idea/*.iml
## .idea/modules
## *.iml
# *.ipr

# CMake
Expand Down
21 changes: 0 additions & 21 deletions .idea/compiler.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/dataSources.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/jarRepositories.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/jpa-buddy.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/misc.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/com/example/UserService/config/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
@EnableRedisRepositories
public class RedisConfig {

@Value("${spring.data.redis.host}")
@Value("${spring.redis.host}")
private String redisHost;

@Value("${spring.data.redis.port}")
@Value("${spring.redis.port}")
private int redisPort;

@Bean
Expand Down
7 changes: 3 additions & 4 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ spring:
activate:
on-profile: prod

data:
redis:
host: 52.78.155.253
port: 6379
redis: # Redis 접속 정보
host: redis
port: 6379

application:
name: User-Service
Expand Down

0 comments on commit 51dee7a

Please sign in to comment.