Add consul into services, update import

This commit is contained in:
2026-02-26 17:18:54 +05:00
parent 31d4aa2e57
commit 80db7347b4
3 changed files with 23 additions and 1 deletions

View File

@@ -17,6 +17,17 @@ services:
reservations: reservations:
memory: 128M memory: 128M
cpus: "0.3" cpus: "0.3"
consul:
image: "hashicorp/consul:1.22"
command: >-
consul
agent
-dev
-log-level=debug
-bind=0.0.0.0
-client=0.0.0.0
networks:
- anyame-consul
networks: networks:
anyame-consul: anyame-consul:

View File

@@ -15,6 +15,17 @@ services:
reservations: reservations:
memory: 128M memory: 128M
cpus: "0.3" cpus: "0.3"
consul:
image: "hashicorp/consul:1.22"
command: >-
consul
agent
-dev
-log-level=debug
-bind=0.0.0.0
-client=0.0.0.0
networks:
- anyame-consul
networks: networks:
anyame-consul: anyame-consul:

View File

@@ -2,7 +2,7 @@ package com.backend.unifier.title.service.api;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
import com.backend.search.kodik.service.api.model.KodikResponse; import com.backend.metadata.kodik.service.api.model.KodikResponse;
import jakarta.ws.rs.GET; import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path; import jakarta.ws.rs.Path;