move state to jsondb
This commit is contained in:
parent
446c0f0264
commit
073feda920
8 changed files with 145 additions and 143 deletions
|
@ -28,6 +28,10 @@ transbeam is configured with the following environment variables:
|
|||
(default: `./storage`)
|
||||
- `TRANSBEAM_STATIC_DIR`: path where the web app's static files live
|
||||
(default: `./static`)
|
||||
- `TRANSBEAM_STATE_FILE`: path of a JSON file where transbeam will
|
||||
store file metadata and other persistent state (default:
|
||||
`$TRANSBEAM_STORAGE_DIR/files.json` if that's already an existing
|
||||
file (for backwards compatibility), `./transbeam.json` otherwise)
|
||||
- `TRANSBEAM_BASE_URL`: base URL for this transbeam instance, without
|
||||
trailing `/`
|
||||
- `TRANSBEAM_PORT`: port to listen on localhost for http requests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue