update readme

This commit is contained in:
root 2024-10-28 03:48:45 +03:00
parent c2e7242f4f
commit d4cf6f61ef

View File

@ -1,6 +1,7 @@
# Instructions # Instructions
## docker-compose ## docker-compose
- if you run into problems. delete stale containers and: `docker image prune` and `docker volume prune` to make sure there are no stale images and volumes.
- copy `config.env.exmaple` to `config.env` and edit - copy `config.env.exmaple` to `config.env` and edit
- optional: if you intend to link, copy `include.default.conf` to `include.conf` and edit - optional: if you intend to link, copy `include.default.conf` to `include.conf` and edit
- build: `docker-compose -f docker-compose.yml build` use: `docker-compose.linked.yml` if you intend to link. - build: `docker-compose -f docker-compose.yml build` use: `docker-compose.linked.yml` if you intend to link.
@ -14,6 +15,8 @@
- ~~`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 # Linking
- Run `docker exec -it irc_ircd_linked_1 openssl x509 -fingerprint -in /etc/ssl/inspircd/server.crt` to get the fingerprints
- On `hub.netcrave.network` add something like this to the `include.conf`: - On `hub.netcrave.network` add something like this to the `include.conf`:
``` ```
@ -24,6 +27,7 @@
bind="*" bind="*"
hidden="no" hidden="no"
sslprofile="defaultssl" sslprofile="defaultssl"
fingerprint="64:00:B8:EB:82:79:68:49:27:FF:9F:C1:94:91:58:E3:DA:19:05:87"
ipaddr="*" ipaddr="*"
name="leaf.netcrave.network" name="leaf.netcrave.network"
port="&env.SERVER_SSL_PORT;" port="&env.SERVER_SSL_PORT;"
@ -42,6 +46,7 @@
bind="*" bind="*"
hidden="no" hidden="no"
sslprofile="defaultssl" sslprofile="defaultssl"
fingerprint="78:50:91:AD:3E:85:19:49:1C:F9:FF:72:94:86:97:28:BE:8B:00:46""
ipaddr="*" ipaddr="*"
name="hub.netcrave.network" name="hub.netcrave.network"
port="&env.SERVER_SSL_PORT;" port="&env.SERVER_SSL_PORT;"