Skip to content

Commit

Permalink
Task 40 : Add authservice info in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapter1990 committed Jul 18, 2024
1 parent 33a4c13 commit bcadbba
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,23 @@ services:
networks:
- springbootmicroservicesnetwork

authservice:
image: authservice:latest
build:
context: ./authservice
dockerfile: Dockerfile
ports:
- "1112:1112"
environment:
- server.port=1112
- SPRING_APPLICATION_NAME=authservice
- EUREKA_SERVICE_URL=http://eurekaserver:8761/eureka/
depends_on:
eurekaserver:
condition: service_started
networks:
- springbootmicroservicesnetwork

networks:
springbootmicroservicesnetwork:
driver: bridge

0 comments on commit bcadbba

Please sign in to comment.