This commit is contained in:
David Abutbul 2022-01-29 21:19:58 +02:00 committed by GitHub
parent 7d56ee3cc6
commit e814ccce31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ prepare a folder where you are going to save your bbs files.
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 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
``` ```
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" \
-v "$(pwd)/db:/enigma-bbs/db" \ -v "$(pwd)/db:/enigma-bbs/db" \
-v "$(pwd)/logs:/enigma-bbs/logs" \ -v "$(pwd)/logs:/enigma-bbs/logs" \
@ -25,7 +25,7 @@ enigmabbs/enigmabbs:latest
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)
```` ````
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" \
-v "$(pwd)/db:/enigma-bbs/db" \ -v "$(pwd)/db:/enigma-bbs/db" \
-v "$(pwd)/logs:/enigma-bbs/logs" \ -v "$(pwd)/logs:/enigma-bbs/logs" \
@ -36,9 +36,9 @@ docker run -d -p 8888:8888 \
enigmabbs/enigmabbs:latest enigmabbs/enigmabbs: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```
:bulb: Configuration will be stored in `$(pwd)/enigma-bbs/config`. :bulb: Configuration will be stored in `$(pwd)/enigma-bbs/config`.