Skip to content

Commit a44f6cd

Browse files
Merge pull request #102 from intel-retail/ITEP-81561
proxy conf and removde aics
2 parents 7d32ee1 + 0c99356 commit a44f6cd

File tree

5 files changed

+80
-122
lines changed

5 files changed

+80
-122
lines changed

docs/troubleshooting.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,6 +1397,15 @@
13971397
</span>
13981398
</a>
13991399

1400+
</li>
1401+
1402+
<li class="md-nav__item">
1403+
<a href="#q-How-to-configure-centralized-proxy" class="md-nav__link">
1404+
<span class="md-ellipsis">
1405+
Q: How to configure centralized proxy?
1406+
</span>
1407+
</a>
1408+
14001409
</li>
14011410

14021411
</ul>

docs_src/troubleshooting.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,74 @@ Simply add the serial number to the `INPUTSRC` argument when calling the pipelin
5858
```
5959
INPUTSRC=725112060400 make run-demo
6060
```
61+
62+
## Q: How to configure centralized proxy?
63+
64+
A: Please follow the below steps to configure the proxy
65+
66+
# 1. Configure Proxy for the Current Shell Session
67+
68+
```bash
69+
export http_proxy=http://<proxy-host>:<port>
70+
export https_proxy=http://<proxy-host>:<port>
71+
export HTTP_PROXY=http://<proxy-host>:<port>
72+
export HTTPS_PROXY=http://<proxy-host>:<port>
73+
export NO_PROXY=localhost,127.0.0.1,::1
74+
export no_proxy=localhost,127.0.0.1,::1
75+
export socks_proxy=http://<proxy-host>:<port>
76+
export SOCKS_PROXY=http://<proxy-host>:<port>
77+
```
78+
79+
# 2. System-Wide Proxy Configuration
80+
81+
System-wide environment (/etc/environment)
82+
(Run: sudo nano /etc/environment and add or update)
83+
84+
```bash
85+
http_proxy=http://<proxy-host>:<port>
86+
https_proxy=http://<proxy-host>:<port>
87+
ftp_proxy=http://<proxy-host>:<port>
88+
socks_proxy=http://<proxy-host>:<port>
89+
no_proxy=localhost,127.0.0.1,::1
90+
91+
HTTP_PROXY=http://<proxy-host>:<port>
92+
HTTPS_PROXY=http://<proxy-host>:<port>
93+
FTP_PROXY=http://<proxy-host>:<port>
94+
SOCKS_PROXY=http://<proxy-host>:<port>
95+
NO_PROXY=localhost,127.0.0.1,::1
96+
```
97+
# 3. Docker Daemon & Client Proxy Configuration
98+
99+
Docker daemon drop-in (/etc/systemd/system/docker.service.d/http-proxy.conf)
100+
Create dir if missing:
101+
sudo mkdir -p /etc/systemd/system/docker.service.d
102+
sudo nano /etc/systemd/system/docker.service.d/http-proxy.conf
103+
104+
```bash
105+
[Service]
106+
Environment="http_proxy=http://<proxy-host>:<port>"
107+
Environment="https_proxy=http://<proxy-host>:<port>"
108+
Environment="no_proxy=localhost,127.0.0.1,::1"
109+
Environment="HTTP_PROXY=http://<proxy-host>:<port>"
110+
Environment="HTTPS_PROXY=http://<proxy-host>:<port>"
111+
Environment="NO_PROXY=localhost,127.0.0.1,::1"
112+
Environment="socks_proxy=http://<proxy-host>:<port>"
113+
Environment="SOCKS_PROXY=http://<proxy-host>:<port>"
114+
115+
# Reload & restart:
116+
sudo systemctl daemon-reload
117+
sudo systemctl restart docker
118+
119+
# Docker client config (~/.docker/config.json)
120+
# mkdir -p ~/.docker
121+
# nano ~/.docker/config.json
122+
{
123+
"proxies": {
124+
"default": {
125+
"httpProxy": "http://<proxy-host>:<port>",
126+
"httpsProxy": "http://<proxy-host>:<port>",
127+
"noProxy": "localhost,127.0.0.1,::1"
128+
}
129+
}
130+
}
131+
```

docs_src/use-cases/AiCSD/aicsd.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs_src/use-cases/AiCSD/pipeline-grpc-go.md

Lines changed: 0 additions & 109 deletions
This file was deleted.

docs_src/use-cases/use-cases.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Intel Retail Use Cases
22

33
- [Automated Self Checkout](./automated-self-checkout/automated-self-checkout.md)
4-
- [AI Connect for Scientific Data (AiCSD)](./AiCSD/aicsd.md)
54
- [Retail Use Cases: C-API for YOLOV8 ensemble](./capi-yolov8-ensemble/capi-yolov8-ensemble.md)
65
- [Loss Prevention](./loss-prevention/loss-prevention.md)

0 commit comments

Comments
 (0)