cargo run --bin mpot-web -- /path/to/conf.toml
Templates are compressed with zstd
and bundled in the binary.
By default, the server listens on 0.0.0.0:3000
.
The following environment variables can be defined to configure various settings:
HOSTNAME
, default0.0.0.0
.PORT
, default3000
.PUBLIC_URL
, defaultlists.mailpot.rs
.SITE_TITLE
, defaultmailing list archive
.SITE_SUBTITLE
, default empty.ROOT_URL_PREFIX
, default empty.SSH_NAMESPACE
, defaultlists.mailpot.rs
.