- por _
This commit is contained in:
@ -22,7 +22,7 @@ import org.springframework.stereotype.Component;
|
|||||||
@Component
|
@Component
|
||||||
public class ApiService {
|
public class ApiService {
|
||||||
//@Value("${apiservice.url}")
|
//@Value("${apiservice.url}")
|
||||||
private static String API_BASE_URL="http://fastapi_app:8000/news";
|
private static String API_BASE_URL="http://fastapi-app:8000/news";
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger(ApiService.class);
|
private static final Logger logger = LoggerFactory.getLogger(ApiService.class);
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./app
|
context: ./app
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: fastapi_app
|
container_name: fastapi-app
|
||||||
ports:
|
ports:
|
||||||
- "8003:8000"
|
- "8003:8000"
|
||||||
environment:
|
environment:
|
||||||
@ -20,7 +20,7 @@ services:
|
|||||||
|
|
||||||
telegrambot:
|
telegrambot:
|
||||||
build: ./bot
|
build: ./bot
|
||||||
container_name: telegrambot_app
|
container_name: telegrambot-app
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8180:8080"
|
- "8180:8080"
|
||||||
|
Reference in New Issue
Block a user