deployment

This commit is contained in:
2026-01-13 15:15:14 +00:00
parent 02169e4621
commit 3ca3b853db

View File

@@ -30,7 +30,7 @@ Syncs `pb_public`, `pb_migrations`, and `pb_hooks`, then restarts the remote Poc
### `setup`
Provision a remote PocketBase server. This will:
Run everything required to deploy an application to a fresh host. This will:
1. Setup up a firewall.
2. Install and setup Caddy.
@@ -48,3 +48,7 @@ Manage the remote secrets in `/root/pb/{service}/.env`.
- `pb secrets list` prints every variable name (comments and empty lines are ignored).
- `pb secrets set KEY=VALUE [...]` adds or updates one or more key/value pairs while leaving the other file entries untouched.
- `pb secrets delete KEY [...]` removes the named entries.
## Deployment
Remember to point the domain configured in `pb.toml` at the server.