mirror of
https://github.com/remnawave/panel.git
synced 2026-04-18 12:23:53 +00:00
Merge pull request #16 from remnawave/docs-update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
sidebar_position: 2
|
||||
slug: /installation/env
|
||||
title: Env variables
|
||||
---
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
sidebar_position: 2
|
||||
slug: /installation/node/env
|
||||
title: Env variables
|
||||
---
|
||||
|
||||
@@ -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
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
13
sidebars.ts
13
sidebars.ts
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user