# ANET BBS Configuration
# Copy this file to .env and customize for your environment

# Environment (development, production, testing)
FLASK_ENV=production

# Secret key for sessions (CHANGE THIS IN PRODUCTION!)
SECRET_KEY=your-secret-key-change-this-in-production

# Database URL
# SQLite (default): sqlite:///data/anetbbs.db
# PostgreSQL: postgresql://user:password@localhost/anetbbs
DATABASE_URL=sqlite:////home/stingray/anetbbs/data/anetbbs_dev.db

# Telnet Server Settings
TELNET_ENABLED=true
TELNET_HOST=0.0.0.0
TELNET_PORT=2233

# Web Server Settings
WEB_HOST=0.0.0.0
WEB_PORT=5000

# Application Settings
BBS_NAME=A-Net Online ANetBBS
BBS_DESCRIPTION=A-Net Online's ANetBBS Software
BBS_DOMAIN=bbs.a-net.fyi

# Logging
LOG_LEVEL=DEBUG
SSH_ENABLED=true
SSH_PORT=2234
RLOGIN_ENABLED=true
RLOGIN_PORT=5132
GAMES_ENABLED=True
GAMES_MAX_NODES=20
DOSBOX_PATH=/usr/bin/dosbox
NODEJS_PATH=/usr/bin/node
MYSTIC_BBS_PATH=/usr/local/bin/mystic
ECHOMAIL_ENABLED=True
ECHOMAIL_POLL_ENABLED=True
MRC_BRIDGE_HOST=localhost
MRC_BRIDGE_PORT=8080
MRC_BRIDGE_WS_PATH=/mrcws
BBS_NODES=20
IDLE_TIMEOUT_SECONDS=1800
PERSONAL_PAGES_ENABLED=true
BBS_DOMAIN=bbs.a-net.fyi
RATIO_MIN=0
SSH_HOST=0.0.0.0
SSH_HOST_KEY_FILE=data/ssh_host_key
RLOGIN_HOST=0.0.0.0
BBS_PUBLIC_HOST=
SYSOP_NAME=Sysop
BBS_EMAIL=
BBS_LOCATION=Earth
FINGER_LISTEN_HOST=0.0.0.0
FINGER_LISTEN_PORT=79
BINKP_LISTEN_HOST=0.0.0.0
BINKP_LISTEN_PORT=24554
BINKP_OUR_ADDRESS=
BINKP_SYSTEM_NAME=ANET BBS
CLAMSCAN_PATH=/usr/bin/clamscan
IRC_LOG_CHANNELS=
NUV_ENABLED=false
GAMES_SESSION_TIMEOUT=3600
DOSEMU_PATH=/usr/bin/dosemu
MYSTIC_PYTHON_PATH=
ECHOMAIL_ORIGIN_LINE=ANetBBS - A Modern BBS System
ECHOMAIL_TEAR_LINE=--- ANetBBS
MRC_BRIDGE_USE_SSL=false
BOT_GATE_TIMEOUT=20
FTP_ENABLED=true
FTP_PORT=21
FTP_ANON_ENABLED=true
FTP_TLS_CERTFILE=/etc/letsencrypt/live/bbs.a-net.fyi/fullchain.pem
FTP_TLS_KEYFILE=/etc/letsencrypt/live/bbs.a-net.fyi/privkey.pem
FTP_PASV_PORTS=40000-40050
# Federation registry hub
REGISTRY_MODE_ENABLED=true
REGISTRY_URL=https://bbs.a-net.fyi
FTP_HOST=0.0.0.0
FTP_ROOT_DIR=data/ftp_root
FTP_BANNER=ANetBBS FTP — file areas
