несколько сервисов, которые должны быть связанны с ботом?
version: '3.8'
services:
bot:
build: bot
environment:
- BOT_TELETGRAM_TOKEN=value
- BOT_MONGODB_URL=mongodb://localhost:27017
- BOT_MODEL_SERVER_URL=http://localhost:80/
expose: ["80", "27017"]
networks: [mongo-network, bot-network, host-network]
modelserver:
build: model-server
ports: ["80"]
mongo:
image: mongo
ports: ["27017"]
networks:
bot-network:
driver: bridge
mongo-network:
driver: bridge
host-network:
driver: host
Пишет: failed to create network docker-network_host-network: Error response from daemon: only one instance of "host" network is allowed
В лс
Обсуждают сегодня