Skip to content

Commit

Permalink
fix: docker network 추카 및 localhost -> docker container 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SunYerim committed Jun 18, 2024
1 parent 28dcc25 commit a6b8636
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ build/reports
build/resources
build/test-results
build/tmp
build/resolvedMainClassName
build/resolvedMainClassName
*.xml
Binary file modified .gradle/8.8/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.8/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.8/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.8/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/8.8/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified build/libs/gateway-0.0.1-SNAPSHOT-plain.jar
Binary file not shown.
Binary file modified build/libs/gateway-0.0.1-SNAPSHOT.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions build/resources/main/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spring:
gateway:
routes:
- id: auth
uri: http://localhost:8090/
uri: http://sunjoo-server-auth-spring-1:8090/
predicates:
- Path=/auth/**
- id: analyze
Expand All @@ -32,4 +32,4 @@ eureka:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://sunjoo-server-eureka-eureka-1:8761/eureka/
Binary file modified build/tmp/compileJava/previous-compilation-data.bin
Binary file not shown.
19 changes: 5 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,9 @@ services:
dockerfile: Dockerfile
ports:
- 9000:9000
networks:
- eureka-network

drinktionary:
image: drinktionary:latest
expose:
- "8081"

auth:
image: auth:latest
expose:
- "8090"

# sentimentAnalysis:
# image: sentimentanalysis:latest
# expose:
# - "8091"
networks:
eureka-network:
driver: bridge
4 changes: 2 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spring:
gateway:
routes:
- id: auth
uri: http://localhost:8090/
uri: http://sunjoo-server-auth-spring-1:8090/
predicates:
- Path=/auth/**
- id: analyze
Expand All @@ -32,4 +32,4 @@ eureka:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://sunjoo-server-eureka-eureka-1:8761/eureka/

0 comments on commit a6b8636

Please sign in to comment.