- por _
This commit is contained in:
@ -22,7 +22,7 @@ import org.springframework.stereotype.Component;
|
||||
@Component
|
||||
public class ApiService {
|
||||
//@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);
|
||||
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
build:
|
||||
context: ./app
|
||||
dockerfile: Dockerfile
|
||||
container_name: fastapi_app
|
||||
container_name: fastapi-app
|
||||
ports:
|
||||
- "8003:8000"
|
||||
environment:
|
||||
@ -20,7 +20,7 @@ services:
|
||||
|
||||
telegrambot:
|
||||
build: ./bot
|
||||
container_name: telegrambot_app
|
||||
container_name: telegrambot-app
|
||||
restart: always
|
||||
ports:
|
||||
- "8180:8080"
|
||||
|
Reference in New Issue
Block a user