@hasna/recordings 0.1.34 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -49,6 +49,21 @@ This package has native local/remote sync. Local data stays in SQLite under
49
49
  `HASNA_RECORDINGS_DATABASE_URL` is set or `~/.hasna/recordings/storage/config.json` is
50
50
  configured.
51
51
 
52
+ The optional config file uses a `postgres` object:
53
+
54
+ ```json
55
+ {
56
+ "mode": "remote",
57
+ "postgres": {
58
+ "host": "db.example",
59
+ "port": 5432,
60
+ "username": "recordings",
61
+ "password_env": "RECORDINGS_DATABASE_PASSWORD",
62
+ "ssl": true
63
+ }
64
+ }
65
+ ```
66
+
52
67
  ```bash
53
68
  recordings storage status
54
69
  recordings storage migrate
@@ -57,6 +72,8 @@ recordings storage pull
57
72
  ```
58
73
 
59
74
  `RECORDINGS_DATABASE_URL` is accepted as the non-Hasna fallback database URL.
75
+ `HASNA_RECORDINGS_STORAGE_CONFIG` can point automation at a non-default storage
76
+ config file.
60
77
 
61
78
  ## Data Directory
62
79