Fix network configuration for TeleBot connectivity
- Added littleshop-network to LittleShop container - Ensures TeleBot can access LittleShop API - Maintains bridge network for BunkerWeb access
This commit is contained in:
parent
6f3314de26
commit
e7d97f581c
@ -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"
|
||||
- "bunkerweb.USE_MODSECURITY=yes"
|
||||
|
||||
networks:
|
||||
littleshop-network:
|
||||
external: true
|
||||
bridge:
|
||||
external: true
|
||||
Loading…
Reference in New Issue
Block a user