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: src/docs-rs/self-hosting.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ To help contain what crates' build scripts can access, documentation builds run
73
73
74
74
You'll also need to configure networking for the container. The following is a sample `/etc/default/lxc-net` that enables NAT networking for the container:
75
75
76
-
```
76
+
```console
77
77
USE_LXC_BRIDGE="true"
78
78
LXC_BRIDGE="lxcbr0"
79
79
LXC_ADDR="10.0.3.1"
@@ -87,7 +87,7 @@ LXC_DOMAIN=""
87
87
88
88
In addition, you'll need to set the container's configuration to use this. Add the following lines to `/cratesfyi-prefix/cratesfyi-container/config`:
89
89
90
-
```
90
+
```console
91
91
lxc.net.0.type = veth
92
92
lxc.net.0.link = lxcbr0
93
93
```
@@ -132,7 +132,7 @@ To ensure that the docs.rs server is configured properly, we need to set a few e
132
132
133
133
Write the following into `/home/cratesfyi/.cratesfyi.env`. If you have a GitHub access token that the site can use to collect repository information, add it here, but otherwise leave it blank. The variables need to exist, but they can be blank to skip that collection.
0 commit comments