deployment
This commit is contained in:
@@ -30,7 +30,7 @@ Syncs `pb_public`, `pb_migrations`, and `pb_hooks`, then restarts the remote Poc
|
|||||||
|
|
||||||
### `setup`
|
### `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.
|
1. Setup up a firewall.
|
||||||
2. Install and setup Caddy.
|
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 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 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.
|
- `pb secrets delete KEY [...]` removes the named entries.
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
Remember to point the domain configured in `pb.toml` at the server.
|
||||||
|
|||||||
Reference in New Issue
Block a user