Setting up PassED can be done with docker compose or from source. As the website relies on the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) it requires a [secure context](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts). In other words you must setup a reverse proxy for HTTPS, or access the site via `localhost`.
Configuration is done using environment variables.
-`PASSED_ADDRESS`: The address that PassED should listen on, defaults to `:3000`.
-`PASSED_LOG_REQUESTS`: Should requests be logged, defaults to `true`.
-`PASSED_MAX_LENGTH`: Maximum password length in KiB, defaults to `12288`.
-`PASSED_STORE_TYPE`: Store type to pick, defaults to `ram`.
-`ram`: Passwords are stored in RAM.
-`dir`: Passwords are stored in a directory. The directory is specified using `PASSED_STORE_DIR_PATH`, which defaults to `passwords`. PassED will **not** create the directory for you.
-`PASSED_STORE_CLEAR_INTERVAL`: Time that should pass between clearing expired passwords in seconds, defaults to `30`.