This commit is contained in:
2025-03-16 21:40:02 +01:00
parent 70d48cc84f
commit 950430bddb
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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"