Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eojinny authored Oct 31, 2023
1 parent 6814d2d commit 5dc1759
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
member:
image: gwangjang/member
depends_on:
- eureka
- apigateway
environment:
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eureka:8761/eureka/
version: '3'
services:
apigateway:
image: gwangjang/apigateway
ports:
- 8083:8083
- 8888:8888
networks:
- msa-network
build: ./MemberService

eureka:
image: gwangjang/eureka:latest
ports:
- 8761:8761
networks:
- msa-network

member:
image: gwangjang/member
depends_on:
- eureka
- apigateway
environment:
EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eureka:8761/eureka/
ports:
- 8083:8083
networks:
- msa-network
build: ./MemberService

0 comments on commit 5dc1759

Please sign in to comment.