You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,41 @@ Thinking of not managing this yourself? Check out the [SaaS migration docs](http
22
22
23
23
Please visit [our documentation](https://develop.sentry.dev/self-hosted/) for everything else.
24
24
25
+
### Installation over proxy
26
+
27
+
In some enterprise setups there are no direct Internet connection. It's possible to access particular hosts through HTTP Proxy. To install Sentry with Self-Hosted Sentry nightly you should make some preparations:
28
+
29
+
Asume that installation is running on the Linux, http://proxy:3128 is a proxy address and `127.0.0.0/8` is the only network that should be accessed without proxy.
30
+
31
+
Set `http_proxy`, `https_proxy` and `no_proxy` variables in `/etc/environment` file.
32
+
33
+
To make `docker pull` command respect proxy create `/etc/systemd/system/docker.service.d/http-proxy.conf` file with such contents:
34
+
35
+
```
36
+
[Service]
37
+
Environment="HTTP_PROXY=http://proxy:3128"
38
+
Environment="HTTPS_PROXY=http://proxy:3128"
39
+
Environment="NO_PROXY=127.0.0.0/8"
40
+
```
41
+
42
+
Run `systemctl daemon-reload` and restart Docker with `systemctl restart docker.service`.
43
+
44
+
To add proxy env variables into Docker containers create `~/.docker/config.json` with such contents:
45
+
46
+
```json
47
+
{
48
+
"proxies":
49
+
{
50
+
"default":
51
+
{
52
+
"httpProxy": "http://proxy:3128",
53
+
"httpsProxy": "http://proxy:3128",
54
+
"noProxy": "127.0.0.0/8"
55
+
}
56
+
}
57
+
}
58
+
```
59
+
25
60
### Customize DotEnv (.env) file
26
61
27
62
Environment specific configurations can be done in the `.env.custom` file. It will be located in the root directory of the Sentry installation.
0 commit comments