Как связать порты в Docker? Это не работает:
```
version: '3'
services:
api:
build: ./FunTimeParseEventsApi
environment:
- NAME=MyApp
- TIMEOUT=15
- GET_EVENTS_DATA_MESSAGE=Текущие Ивенты
- GET_MINES_DATA_MESSAGE=ВСЕ
- CHECK_USER=ElytraMistbot
- OUTPUT_GROUP_LINK=
https://t.me/
volumes:
- ./Volumes:/app/cookies
networks:
- remaxmdcrm_remaxmd-network
ports:
- 8080:8080
command: python app.py
discord-bot:
build: ./FunTimeEventsDiscordBot
environment:
- TOKEN=MTI4
networks:
- remaxmdcrm_remaxmd-network
command: python app.py
networks:
remaxmdcrm_remaxmd-network:
driver: bridge```
В discord-bot контейнере ошибка:
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /setup (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))