forked from supernets/inspircd
fix include mapping
This commit is contained in:
parent
0cbce64cc0
commit
c2e7242f4f
38
README.md
38
README.md
@ -12,3 +12,41 @@
|
|||||||
# Optional
|
# Optional
|
||||||
- ~~create a custom `links.conf`~~
|
- ~~create a custom `links.conf`~~
|
||||||
- ~~`docker run -it --rm -e 'DEFAULT_BLOCK_HOST_MASK="nothing"' -net host -v $(pwd)/links.conf:/etc/inspircd/links.conf:ro inspi4`~~
|
- ~~`docker run -it --rm -e 'DEFAULT_BLOCK_HOST_MASK="nothing"' -net host -v $(pwd)/links.conf:/etc/inspircd/links.conf:ro inspi4`~~
|
||||||
|
|
||||||
|
# Linking
|
||||||
|
- On `hub.netcrave.network` add something like this to the `include.conf`:
|
||||||
|
|
||||||
|
```
|
||||||
|
<autoconnect period="8s"
|
||||||
|
server="leaf.netcrave.network">
|
||||||
|
|
||||||
|
<link allowmask="*"
|
||||||
|
bind="*"
|
||||||
|
hidden="no"
|
||||||
|
sslprofile="defaultssl"
|
||||||
|
ipaddr="*"
|
||||||
|
name="leaf.netcrave.network"
|
||||||
|
port="&env.SERVER_SSL_PORT;"
|
||||||
|
recvpass="&env.LINK_RECV_PASSWORD;"
|
||||||
|
sendpass="&env.LINK_SEND_PASSWORD;"
|
||||||
|
statshidden="no"
|
||||||
|
timeout="&env.LINK_TIMEOUT;">
|
||||||
|
```
|
||||||
|
- On `leaf.netcrave.network` add something like this to the `include.conf`:
|
||||||
|
|
||||||
|
```
|
||||||
|
<autoconnect period="8s"
|
||||||
|
server="hub.netcrave.network">
|
||||||
|
|
||||||
|
<link allowmask="*"
|
||||||
|
bind="*"
|
||||||
|
hidden="no"
|
||||||
|
sslprofile="defaultssl"
|
||||||
|
ipaddr="*"
|
||||||
|
name="hub.netcrave.network"
|
||||||
|
port="&env.SERVER_SSL_PORT;"
|
||||||
|
recvpass="&env.LINK_RECV_PASSWORD;"
|
||||||
|
sendpass="&env.LINK_SEND_PASSWORD;"
|
||||||
|
statshidden="no"
|
||||||
|
timeout="&env.LINK_TIMEOUT;">
|
||||||
|
```
|
||||||
|
@ -8,7 +8,7 @@ services:
|
|||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
env_file: "config.env"
|
env_file: "config.env"
|
||||||
volumes:
|
volumes:
|
||||||
- ./links.conf:/etc/inspircd/links.conf:ro
|
- ./include.conf:/etc/inspircd/include.conf:ro
|
||||||
- ssl:/etc/ssl/inspircd
|
- ssl:/etc/ssl/inspircd
|
||||||
- data:/var/lib/inspircd
|
- data:/var/lib/inspircd
|
||||||
- log:/var/log/inspircd
|
- log:/var/log/inspircd
|
||||||
|
Loading…
Reference in New Issue
Block a user