pb volume

This commit is contained in:
2026-01-13 15:08:54 +00:00
parent 2aa9e8d672
commit 02169e4621
2 changed files with 54 additions and 11 deletions

View File

@@ -6,7 +6,19 @@ A simple, rsync-based PocketBase deployment tool.
### `init`
Start a new PocketBase project (optionally provide a service name via `pb init <name>`)
Start a new PocketBase project (optionally provide a service name via `pb init <name>`) with a `pb.toml`:
```toml
[server]
ip = '127.0.0.1'
port = 8090
domain = 'example.com'
[pocketbase]
version = '0.35.1'
service = 'rusty-dusty'
volume = 'pb_data'
```
### `dev`
@@ -27,7 +39,7 @@ Provision a remote PocketBase server. This will:
### `logs`
Connects to the configured server and streams `/root/pb/{service}/{service}.log` via `tail -n 100 -F`.
Streams the remote logs (`/root/pb/{service}/{service}.log`).
### `secrets`