This commit is contained in:
Bryan Ashby 2022-08-19 00:03:25 -06:00
parent 94145c043a
commit d4341bf85f
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
2 changed files with 19 additions and 16 deletions

View File

@ -1700,7 +1700,7 @@ function FTNMessageScanTossModule() {
uuid: message.messageUuid, uuid: message.messageUuid,
MSGID: msgId, MSGID: msgId,
}, },
`Not importing non-unique message ${localAreaTag}: "${message.subject}"` `Not importing non-unique message "${message.subject}" to ${localAreaTag}`
); );
return next(null); return next(null);

View File

@ -2,14 +2,17 @@
layout: page layout: page
title: Docker title: Docker
--- ---
**You'll need Docker installed before going any further. How to do so are out of scope of these docs, but you can find full instructions
> :warning: **You'll need Docker installed before going any further. How to do so are out of scope of these docs, but you can find full instructions
for every operating system on the [Docker website](https://docs.docker.com/engine/install/).** for every operating system on the [Docker website](https://docs.docker.com/engine/install/).**
## Quick Start ## Quick Start
prepare a folder where you are going to save your bbs files. Prepare a folder where you are going to save your bbs files.
- Generate some config for your BBS: \
you can perform this step from anywhere - but make sure to consistently run it from the same place to retain your config inside the docker guest 1. Generate some config for your BBS: \
``` You can perform this step from anywhere - but make sure to consistently run it from the same place to retain your config inside the docker guest.
```bash
docker run -it -p 8888:8888 \ docker run -it -p 8888:8888 \
--name "ENiGMABBS" \ --name "ENiGMABBS" \
-v "$(pwd)/config:/enigma-bbs/config" \ -v "$(pwd)/config:/enigma-bbs/config" \
@ -21,9 +24,10 @@ docker run -it -p 8888:8888 \
-v "$(pwd)/mail:/mail" \ -v "$(pwd)/mail:/mail" \
enigmabbs/enigma-bbs:latest enigmabbs/enigma-bbs:latest
``` ```
- Run it: \ 2. Run it: \
you can use the same command as above, just daemonize and drop interactiveness (we needed it for config but most of the time docker will run in the background) You can use the same command as above, just daemonize and drop interactiveness (we needed it for config but most of the time docker will run in the background)
````
```bash
docker run -d -p 8888:8888 \ docker run -d -p 8888:8888 \
--name "ENiGMABBS" \ --name "ENiGMABBS" \
-v "$(pwd)/config:/enigma-bbs/config" \ -v "$(pwd)/config:/enigma-bbs/config" \
@ -34,9 +38,9 @@ docker run -d -p 8888:8888 \
-v "$(pwd)/mods:/enigma-bbs/mods" \ -v "$(pwd)/mods:/enigma-bbs/mods" \
-v "$(pwd)/mail:/mail" \ -v "$(pwd)/mail:/mail" \
enigmabbs/enigma-bbs:latest enigmabbs/enigma-bbs:latest
```` ```
- Restarting and Making changes\ ### Restarting and Making changes\
if you make any changes to your host config folder they will persist, and you can just restart ENiGMABBS container to load any changes you've made. If you make any changes to your host config folder they will persist, and you can just restart ENiGMABBS container to load any changes you've made.
```docker restart ENiGMABBS``` ```docker restart ENiGMABBS```
@ -66,7 +70,6 @@ Customising the Docker image is easy!
1. Clone the ENiGMA-BBS source. 1. Clone the ENiGMA-BBS source.
2. Build the image 2. Build the image
```bash
``` docker build -f ./docker/Dockerfile .
docker build -f ./docker/Dockerfile . ```
```