diff --git a/docker-compose.hostinger.yml b/docker-compose.hostinger.yml index 0f4c5be..0c52874 100644 --- a/docker-compose.hostinger.yml +++ b/docker-compose.hostinger.yml @@ -43,7 +43,9 @@ services: - /opt/littleshop/data:/app/data - /opt/littleshop/uploads:/app/wwwroot/uploads - /opt/littleshop/logs:/app/logs - network_mode: bridge # Use default bridge to communicate with other containers + networks: + - littleshop-network # Shared network for container communication + - bridge # Keep bridge for BunkerWeb access healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/api/catalog/products"] interval: 30s @@ -63,4 +65,10 @@ services: - "bunkerweb.REVERSE_PROXY_URL=/" - "bunkerweb.REVERSE_PROXY_HOST=http://littleshop-admin:5000" - "bunkerweb.AUTO_LETS_ENCRYPT=yes" - - "bunkerweb.USE_MODSECURITY=yes" \ No newline at end of file + - "bunkerweb.USE_MODSECURITY=yes" + +networks: + littleshop-network: + external: true + bridge: + external: true \ No newline at end of file