Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit e2cf08b

Browse files
committed
remove unnecessary info about ~/.docker/config.json
1 parent f28e5c8 commit e2cf08b

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

src/docs/self-hosted/index.mdx

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Our recommendation is to download the [latest release of the self-hosted reposi
1313
In some enterprise setups there is no direct Internet connection, so you must use an HTTP proxy server. How do you install Sentry in this environment? Let us assume:
1414

1515
1. Your Sentry installation is running on Linux.
16-
1. `http://proxy:3128` is your proxy address.
17-
1. `127.0.0.0/8` is the only network that should be accessed without a proxy.
16+
2. `http://proxy:3128` is your proxy address.
17+
3. `127.0.0.0/8` is the only network that should be accessed without a proxy.
1818

1919
Here are the steps to follow:
2020

@@ -24,23 +24,9 @@ Here are the steps to follow:
2424
[Service]
2525
Environment="HTTP_PROXY=http://proxy:3128"
2626
Environment="HTTPS_PROXY=http://proxy:3128"
27-
Environment="NO_PROXY=relay,web,sentry,127.0.0.0/8"
28-
```
29-
3. Run `systemctl daemon-reload` and restart Docker with `systemctl restart docker.service`.
30-
4. To add your proxy environment variables into Sentry's Docker containers, create `~/.docker/config.json` with these contents:
31-
```json
32-
{
33-
"proxies":
34-
{
35-
"default":
36-
{
37-
"httpProxy": "http://proxy:3128",
38-
"httpsProxy": "http://proxy:3128",
39-
"noProxy": "relay,web,sentry,127.0.0.0/8"
40-
}
41-
}
42-
}
27+
Environment="NO_PROXY=127.0.0.0/8"
4328
```
29+
2. Run `systemctl daemon-reload` and restart Docker with `systemctl restart docker.service`.
4430

4531
From there you can run `./install.sh` like usual.
4632

0 commit comments

Comments
 (0)