Fix network configuration for Hostinger deployment
This commit is contained in:
parent
af45d7c955
commit
4f0724e94d
@ -43,8 +43,7 @@ services:
|
|||||||
- /opt/littleshop/data:/app/data
|
- /opt/littleshop/data:/app/data
|
||||||
- /opt/littleshop/uploads:/app/wwwroot/uploads
|
- /opt/littleshop/uploads:/app/wwwroot/uploads
|
||||||
- /opt/littleshop/logs:/app/logs
|
- /opt/littleshop/logs:/app/logs
|
||||||
networks:
|
network_mode: bridge # Use default bridge to communicate with other containers
|
||||||
- bridge # Use default bridge to communicate with other containers
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:5000/api/catalog/products"]
|
test: ["CMD", "curl", "-f", "http://localhost:5000/api/catalog/products"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@ -64,8 +63,4 @@ services:
|
|||||||
- "bunkerweb.REVERSE_PROXY_URL=/"
|
- "bunkerweb.REVERSE_PROXY_URL=/"
|
||||||
- "bunkerweb.REVERSE_PROXY_HOST=http://littleshop-admin:5000"
|
- "bunkerweb.REVERSE_PROXY_HOST=http://littleshop-admin:5000"
|
||||||
- "bunkerweb.AUTO_LETS_ENCRYPT=yes"
|
- "bunkerweb.AUTO_LETS_ENCRYPT=yes"
|
||||||
- "bunkerweb.USE_MODSECURITY=yes"
|
- "bunkerweb.USE_MODSECURITY=yes"
|
||||||
|
|
||||||
networks:
|
|
||||||
bridge:
|
|
||||||
external: true
|
|
||||||
Loading…
Reference in New Issue
Block a user