Merge pull request #16 from remnawave/docs-update

This commit is contained in:
Yury Kastov
2025-03-16 19:42:16 +03:00
committed by GitHub
7 changed files with 56 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
position: 2 # float position is supported
position: 3 # float position is supported
label: 'Installation'
collapsible: true # make the category collapsible
collapsed: false # keep the category open by default

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 2
slug: /installation/env
title: Env variables
---

View File

@@ -1,8 +1,8 @@
position: 2.5 # float position is supported
position: 3 # float position is supported
label: 'Node install'
collapsible: true # make the category collapsible
collapsed: false # keep the category open by default
collapsed: true # keep the category open by default
className: red
link:
type: generated-index
title: Node installation guide
title: Node installation guide

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 2
slug: /installation/node/env
title: Env variables
---

View File

@@ -86,3 +86,52 @@ docker compose logs -f
7. Remnanode is now running.
Now we are ready to create a Node in the main panel.
## Advanced usage
### GeoSite files
You can mount additional geosite files into the `/usr/local/share/xray/` directory in the container.
:::caution
Do not mount the entire folder. Otherwise, you will overwrite the xray geosite files. Mount files individually.
:::
Add the following to the `docker-compose.yml` file:
```yaml
services:
remnanode:
container_name: remnanode
hostname: remnanode
image: remnawave/node:latest
restart: always
network_mode: host
env_file:
- .env
// highlight-next-line-green
volumes:
// highlight-next-line-green
- './zapret.dat:/usr/local/share/xray/zapret.dat'
```
Usage in xray config:
```json
"routing": {
"rules": [
// Other rules
{
"type": "field",
"domain": [
"ext:zapret.dat:zapret"
],
"inboundTag": [ // Optional
"VLESS_TCP_REALITY"
],
"outboundTag": "NOT_RU_OUTBOUND"
}
// Other rules
]
}
```

View File

@@ -1,7 +1,7 @@
position: 2.5 # float position is supported
label: 'Reverse Proxies'
collapsible: true # make the category collapsible
collapsed: false # keep the category open by default
collapsed: true # keep the category open by default
className: red
link:
type: generated-index

View File

@@ -15,19 +15,6 @@ Create as many sidebars as you want.
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }]
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
}
export default sidebars