8000 GitHub - opicron/mysticbbs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

opicron/mysticbbs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visit my board at bbs.opicron.eu

mysticbbs

Docker install of linux enviroment which runs Mystic BBS software.

Includes start, stop and boot script for correct signal term handling.

02/04/2024:

  • added ubuntu 24.04 dockerfile
    • path to python 2.7 lib is /opt/pyenv/versions/2.7.18/lib/libpython2.7.so
  • moved ubuntu 22.04 dockerfile
    • path to python 2.7 lib is /usr/lib/x86_64-linux-gnu/libpython2.7.so

30/03/2024:

  • updated to ubuntu 22.04
  • added latest pip version for python 2.7
    • use pip2 command
  • added get-pip python script to repo
    • added requests
    • added pyfiglet
  • added cryptlib archives to repo
    • 3.4.3 for ubuntu 16.04
    • 3.4.4 for ununtu 20.04
    • 3.4.5 for ubuntu 22.04

23/03/2024:

  • change from python2.7.18:strech to ubuntu
    • small image footprint
    • possibility to install python 3
    • etc etc
  • removed Mystic binaries
    • mount Mystic to /mystic/ yourself
  • changed ENTRYPOINT to CMD so it can be overriden
  • added logger to synology console
    • possible to blacklist log lines
  • added logrotate to replace Mystic roll
    • set roll type to "none" in mystic
    • all *.log files are handled by logrotate
  • added expect
    • run mystic -y background scripts
    • without spawn/expect mystic exits

11/08/2020:

  • added cleanup signal to entrypoint bash script
  • no more forced shutdowns (see sigterm handling)

30/10/2020:

  • added cron, zip, rar for fidopoll/mutil mail
  • changed from stretch-slim to python2.7.18:stretch (see msg_seek() crash)
  • added EXPOSE for BinkP mail server

28/10/2020:

  • added manual compile Python 2.7.18 (overruled by cron, which installs 2.7.13)

29/09/2020:

  • added EXPOSE ports for Synology docker
  • changed cryptlib download link
  • changed ENTRYPOINT
  • changed main window to tail log instead of sleep
  • added start/stop bash scripts
  • added python for mystic scripts
  • added pip for dependency installs
  • added link from unrar to rar

spawn/expect

For running mystic -y scripts in background use this script:

#!/usr/bin/expect -f

# Don't log spawn output to stdout
log_user 0

# Set a timeout (optional)
set timeout 30

# Set terminal type
set env(TERM) "linux"

# Start mystic
spawn /mystic/mystic -uYourUser -pYourPass -yYourScript

# Wait for it to finish (you can add more interaction if needed)
expect eof

start/stop scripts

Used the following source for the start/stop scripts: https://vswitchzero.com/mystic-systemd/

todo:

  • tba

install

Volumes

If you want to mount your custom mystic install you can mount the volume as below and it will override the fresh install. Do not mount the mystic volume if you wish to use the default install. It is recommended to copy the files after a fresh install and add the docker again mounting your own mystic folder to keep your configuration data outside the docker.

Logs

To make the usage easier the logs are tail'ed in main docker window as in the following example.

Ports

Make sure you map the ports from AUTO to manually set ports. If not set manually Synology will set random ports on each restart:

telnet clients

  • MobaXterm (need configuration to get ANSI working well)
  • Netrunner v2 (best for mystic and easy to configure)
  • SyncTerm
  • EtherTerm3
  • MT32

synology correct IP in docker

sudo iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER

https://stackoverflow.com/questions/61624998/how-do-i-prevent-docker-from-source-nating-traffic-on-synology-nas

modding

https://www.youtube.com/watch?v=uguo1hr2AQg

http://www.mysticbbs.com/downloads.html

https://anotherdroidbbs.wordpress.com/2017/07/04/display-ansi-art-in-mystic-menus/

http://www.mysticbbs.com/screenshots.html

http://andr01d.zapto.org:8080//tutor/p1liner.txt.htm

http://andr01d.zapto.org:8080//tutor/1ledit.txt.htm

http://docs.wwivbbs.org/en/latest/conn/fail2ban/

https://www.youtube.com/watch?v=HLmjBydrL7U

ssl

https://stackoverflow.com/questions/32856389/how 57CB -to-import-ssl-in-python-2-7-6

https://stackoverflow.com/questions/17309288/importerror-no-module-named-requests

msg_seek crash

https://bbs.electronicchicken.com/?page=001-forum.ssjs&sub=fsxnet_fsx_mys&thread=3930

http://necrobbs.com/?page=001-forum.ssjs&sub=fsxnet_fsx_mys&thread=1627

sigterm handling

https://unix.stackexchange.com/questions/146756/forward-sigterm-to-child-in-bash/146770#146770

https://stackoverflow.com/questions/41451159/how-to-execute-a-script-when-i-terminate-a-docker-container

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Other 0.9%
0