mailpot/mailpot-web
Manos Pitsidianakis 568472a2e7
Various features lumped together
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2024-04-26 13:39:03 +03:00
..
src Various features lumped together 2024-04-26 13:39:03 +03:00
.gitignore Rename workspace dirs to their actual crate names 2024-02-13 09:53:24 +02:00
Cargo.toml Rename workspace dirs to their actual crate names 2024-02-13 09:53:24 +02:00
README.md Rename workspace dirs to their actual crate names 2024-02-13 09:53:24 +02:00
build.rs Rename workspace dirs to their actual crate names 2024-02-13 09:53:24 +02:00
rustfmt.toml Rename workspace dirs to their actual crate names 2024-02-13 09:53:24 +02:00

README.md

mailpot web server

cargo run --bin mpot-web -- /path/to/conf.toml

Templates are compressed with zstd and bundled in the binary.

Configuration

By default, the server listens on 0.0.0.0:3000. The following environment variables can be defined to configure various settings:

  • HOSTNAME, default 0.0.0.0.
  • PORT, default 3000.
  • PUBLIC_URL, default lists.mailpot.rs.
  • SITE_TITLE, default mailing list archive.
  • SITE_SUBTITLE, default empty.
  • ROOT_URL_PREFIX, default empty.
  • SSH_NAMESPACE, default lists.mailpot.rs.