From cb27495404a81672b9487c1265428f9c8193896b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Oct 2024 02:57:25 +0300 Subject: [PATCH] update readme --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bbfc025..817ce33 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ # Instructions -- `docker build -t inspi4 -t inspi4:latest .` -- `docker run -it --rm -e 'DEFAULT_BLOCK_HOST_MASK="nothing"' -net host inspi4` +## docker-compose +- 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. + +- ~~`docker build -t inspi4 -t inspi4:latest .`~~ +- ~~`docker run -it --rm -e 'DEFAULT_BLOCK_HOST_MASK="nothing"' -net host inspi4`~~ # 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` +- ~~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`~~