Add consul into services, update import
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user