update volume names and documentation

This commit is contained in:
root 2024-10-28 23:22:51 +03:00
parent cce2be2977
commit bd5e14a08c
3 changed files with 11 additions and 11 deletions

View File

@ -1,11 +1,11 @@
# Instructions
## docker-compose
- if you run into problems. delete stale containers and: `docker rmi inspi4` and `docker volume prune` to make sure there are no stale images and volumes.
- if you are not starting from scratch. delete stale containers and: `docker rmi inspi4` and `docker volume rm inspi4_ssl`
- copy `config.env.exmaple` to `config.env` 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.
- start: `docker-compose -f docker-compose.yml up -d` also use the linked variant if you intend to link.
- optional: if you intend to link, copy `include.default.conf` to `include.conf` and edit (see linking section below.)
- build: `docker-compose -f docker-compose.standalone.yml build` use: `docker-compose.linked.yml` if you intend to link.
- start: `docker-compose -f docker-compose.standalone.yml up -d` also use the linked variant if you intend to link.
- ~~`docker build -t inspi4 -t inspi4:latest .`~~
- ~~`docker run -it --rm -e 'DEFAULT_BLOCK_HOST_MASK="nothing"' -net host inspi4`~~
@ -16,7 +16,7 @@
# Linking
- Run `docker exec -it ircd_ircd_linked_1 openssl x509 -sha256 -fingerprint -in /etc/ssl/inspircd/server.crt | tr -d ":" | tr '[:upper:]' '[:lower:]'`
to get the fingerprints.
to get the SSL fingerprints, the `fingerprint` refers to the remote SSL certificate fingerprint for each linking section.
- On `hub.netcrave.network` add something like this to the `include.conf`:

View File

@ -14,8 +14,8 @@ services:
- log:/var/log/inspircd
volumes:
data:
name: data
name: inspi4_data
ssl:
name: ssl
name: inspi4_ssl
log:
name: log
name: inspi4_log

View File

@ -13,8 +13,8 @@ services:
- log:/var/log/inspircd
volumes:
data:
name: data
name: inspi4_data
ssl:
name: ssl
name: inspi4_ssl
log:
name: log
name: inspi4_log