Fix: Add silverpay network to LittleShop deployment

Added silverpay_silverpay-network to docker-compose.production.yml to ensure
littleshop-admin container can communicate with TeleBot and SilverPay services.

This prevents the "Name or service not known" error that occurs when CI/CD
redeploys the container without reconnecting it to the shared network.

Changes:
- Added silverpay_silverpay-network to service networks
- Declared external network in networks section

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
SysAdmin 2025-10-03 13:57:01 +01:00
parent ec955e49d9
commit 8ea18f2f1f

View File

@ -40,6 +40,7 @@ services:
networks: networks:
- littleshop-network - littleshop-network
- silverpay_silverpay-network
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/api/catalog/products"] test: ["CMD", "curl", "-f", "http://localhost:5000/api/catalog/products"]
@ -68,3 +69,5 @@ networks:
ipam: ipam:
config: config:
- subnet: 172.21.0.0/16 - subnet: 172.21.0.0/16
silverpay_silverpay-network:
external: true