mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 22:40:58 +03:00
Add configuration to README.md
This commit is contained in:
12
README.md
12
README.md
@@ -7,6 +7,18 @@ Aimed to be a simple, fast and easy-to-use webarchive for personal or home-net u
|
|||||||
* Golang 1.19 or higher
|
* Golang 1.19 or higher
|
||||||
* wkhtmltopdf binary in $PATH (to save pages in pdf)
|
* wkhtmltopdf binary in $PATH (to save pages in pdf)
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
The service can be configured via environment variables. There is a list of available
|
||||||
|
variables:
|
||||||
|
|
||||||
|
* **DB_PATH** — path for the database files (default `./db`)
|
||||||
|
* **LOGGING_DEBUG** — enable debug logs (default `false`)
|
||||||
|
|
||||||
|
|
||||||
|
*Note*: Prefix **WEBARCHIVE_** can be used with the environment variable names
|
||||||
|
in case of any conflicts.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
#### 1. Start the server
|
#### 1. Start the server
|
||||||
|
|||||||
Reference in New Issue
Block a user