From bcadbbab18ef70e5c925d02b09ba478bb48ab2e9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-E7L6HLO\\Noyan" Date: Thu, 18 Jul 2024 09:52:23 +0300 Subject: [PATCH] Task 40 : Add authservice info in docker-compose.yml --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index fd19661..dca9322 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file