fix include mapping

This commit is contained in:
root 2024-10-28 03:27:11 +03:00
parent 0cbce64cc0
commit c2e7242f4f
2 changed files with 39 additions and 1 deletions

View File

@ -12,3 +12,41 @@
# Optional
- ~~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`~~
# 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;">
```

View File

@ -8,7 +8,7 @@ services:
network_mode: "host"
env_file: "config.env"
volumes:
- ./links.conf:/etc/inspircd/links.conf:ro
- ./include.conf:/etc/inspircd/include.conf:ro
- ssl:/etc/ssl/inspircd
- data:/var/lib/inspircd
- log:/var/log/inspircd