From 8ea18f2f1f87ffefd5ee652aa158cf5cc117a8bb Mon Sep 17 00:00:00 2001 From: SysAdmin Date: Fri, 3 Oct 2025 13:57:01 +0100 Subject: [PATCH] Fix: Add silverpay network to LittleShop deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker-compose.production.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 1dff12d..c495db6 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -40,6 +40,7 @@ services: networks: - littleshop-network + - silverpay_silverpay-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/api/catalog/products"] @@ -67,4 +68,6 @@ networks: driver: bridge ipam: config: - - subnet: 172.21.0.0/16 \ No newline at end of file + - subnet: 172.21.0.0/16 + silverpay_silverpay-network: + external: true \ No newline at end of file